Difference between cluster centers and meansThe implementation of overlapping clustering (NEO-K-Means)k-means python implementation: unclearwrong resultConfused about how to apply KMeans on my a dataset with features extractedExplaination or Description of clusters after clusteringHow to use k-means outputs (extracted features) as SVM inputs?How to get data back into two separate audio files after successfully applying kmeans clustering on an audio file?Finding best cluster after running K-Means clusteringHow to create a simple K-Means Cluster Algorithm in Python?Clustering 1-d array with constraints?

Why can Carol Danvers change her suit colours in the first place?

How does the math work for Perception checks?

PTIJ: Haman's bad computer

Pre-mixing cryogenic fuels and using only one fuel tank

What should you do if you miss a job interview (deliberately)?

What are some good ways to treat frozen vegetables such that they behave like fresh vegetables when stir frying them?

Extract more than nine arguments that occur periodically in a sentence to use in macros in order to typset

Can I say "fingers" when referring to toes?

Limits and Infinite Integration by Parts

Quoting Keynes in a lecture

Can I visit Japan without a visa?

Are Captain Marvel's powers affected by Thanos' actions in Infinity War

How should I respond when I lied about my education and the company finds out through background check?

Is there an injective, monotonically increasing, strictly concave function from the reals, to the reals?

Can a stoichiometric mixture of oxygen and methane exist as a liquid at standard pressure and some (low) temperature?

How can "mimic phobia" be cured or prevented?

How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?

Why did the EU agree to delay the Brexit deadline?

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

What is the highest possible scrabble score for placing a single tile

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

Do the primes contain an infinite almost arithmetic progression?

On a tidally locked planet, would time be quantized?

Can a Canadian Travel to the USA twice, less than 180 days each time?



Difference between cluster centers and means


The implementation of overlapping clustering (NEO-K-Means)k-means python implementation: unclearwrong resultConfused about how to apply KMeans on my a dataset with features extractedExplaination or Description of clusters after clusteringHow to use k-means outputs (extracted features) as SVM inputs?How to get data back into two separate audio files after successfully applying kmeans clustering on an audio file?Finding best cluster after running K-Means clusteringHow to create a simple K-Means Cluster Algorithm in Python?Clustering 1-d array with constraints?













1












$begingroup$


The following is the output of the cluster centers I got from a cluster model (kmeans - 6 clusters)




3.371069, 3.920354, 3.629747, 3.700000, 3.988506, 3.740385




However, after segmenting the data into the 6 clusters and taking the average of the data for each of the 6 clusters, I get a different set of numbers than the above.




3.7, 3.6, 3.6, 3.8, 4.2, 3.3




My question is are cluster centers different than means?



Why am I getting different values?










share|improve this question









New contributor




kiva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$
















    1












    $begingroup$


    The following is the output of the cluster centers I got from a cluster model (kmeans - 6 clusters)




    3.371069, 3.920354, 3.629747, 3.700000, 3.988506, 3.740385




    However, after segmenting the data into the 6 clusters and taking the average of the data for each of the 6 clusters, I get a different set of numbers than the above.




    3.7, 3.6, 3.6, 3.8, 4.2, 3.3




    My question is are cluster centers different than means?



    Why am I getting different values?










    share|improve this question









    New contributor




    kiva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    $endgroup$














      1












      1








      1





      $begingroup$


      The following is the output of the cluster centers I got from a cluster model (kmeans - 6 clusters)




      3.371069, 3.920354, 3.629747, 3.700000, 3.988506, 3.740385




      However, after segmenting the data into the 6 clusters and taking the average of the data for each of the 6 clusters, I get a different set of numbers than the above.




      3.7, 3.6, 3.6, 3.8, 4.2, 3.3




      My question is are cluster centers different than means?



      Why am I getting different values?










      share|improve this question









      New contributor




      kiva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.







      $endgroup$




      The following is the output of the cluster centers I got from a cluster model (kmeans - 6 clusters)




      3.371069, 3.920354, 3.629747, 3.700000, 3.988506, 3.740385




      However, after segmenting the data into the 6 clusters and taking the average of the data for each of the 6 clusters, I get a different set of numbers than the above.




      3.7, 3.6, 3.6, 3.8, 4.2, 3.3




      My question is are cluster centers different than means?



      Why am I getting different values?







      k-means






      share|improve this question









      New contributor




      kiva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      kiva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Mar 19 at 12:40









      tuomastik

      753418




      753418






      New contributor




      kiva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Mar 19 at 4:14









      kivakiva

      61




      61




      New contributor




      kiva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      kiva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      kiva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          They are the same.



          When you run K-Means, the cluster center changes every iteration. In each iteration, cluster center or mean is given for that specific cluster. In the next iteration, a new cluster may be formed. The cluster centers need to be calculated again.



          When the algorithm converges, you get the absolute means of the clusters formed. For most intents and purposes, they are the same.






          share|improve this answer








          New contributor




          Abhik Banerjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          $endgroup$








          • 1




            $begingroup$
            Thanks Abhik, Why do you suppose I get different values when I calculate the means after segmenting the data?
            $endgroup$
            – kiva
            Mar 19 at 5:45










          Your Answer





          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "557"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          kiva is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47579%2fdifference-between-cluster-centers-and-means%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0












          $begingroup$

          They are the same.



          When you run K-Means, the cluster center changes every iteration. In each iteration, cluster center or mean is given for that specific cluster. In the next iteration, a new cluster may be formed. The cluster centers need to be calculated again.



          When the algorithm converges, you get the absolute means of the clusters formed. For most intents and purposes, they are the same.






          share|improve this answer








          New contributor




          Abhik Banerjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          $endgroup$








          • 1




            $begingroup$
            Thanks Abhik, Why do you suppose I get different values when I calculate the means after segmenting the data?
            $endgroup$
            – kiva
            Mar 19 at 5:45















          0












          $begingroup$

          They are the same.



          When you run K-Means, the cluster center changes every iteration. In each iteration, cluster center or mean is given for that specific cluster. In the next iteration, a new cluster may be formed. The cluster centers need to be calculated again.



          When the algorithm converges, you get the absolute means of the clusters formed. For most intents and purposes, they are the same.






          share|improve this answer








          New contributor




          Abhik Banerjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          $endgroup$








          • 1




            $begingroup$
            Thanks Abhik, Why do you suppose I get different values when I calculate the means after segmenting the data?
            $endgroup$
            – kiva
            Mar 19 at 5:45













          0












          0








          0





          $begingroup$

          They are the same.



          When you run K-Means, the cluster center changes every iteration. In each iteration, cluster center or mean is given for that specific cluster. In the next iteration, a new cluster may be formed. The cluster centers need to be calculated again.



          When the algorithm converges, you get the absolute means of the clusters formed. For most intents and purposes, they are the same.






          share|improve this answer








          New contributor




          Abhik Banerjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          $endgroup$



          They are the same.



          When you run K-Means, the cluster center changes every iteration. In each iteration, cluster center or mean is given for that specific cluster. In the next iteration, a new cluster may be formed. The cluster centers need to be calculated again.



          When the algorithm converges, you get the absolute means of the clusters formed. For most intents and purposes, they are the same.







          share|improve this answer








          New contributor




          Abhik Banerjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          Abhik Banerjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered Mar 19 at 4:31









          Abhik BanerjeeAbhik Banerjee

          11




          11




          New contributor




          Abhik Banerjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Abhik Banerjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Abhik Banerjee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.







          • 1




            $begingroup$
            Thanks Abhik, Why do you suppose I get different values when I calculate the means after segmenting the data?
            $endgroup$
            – kiva
            Mar 19 at 5:45












          • 1




            $begingroup$
            Thanks Abhik, Why do you suppose I get different values when I calculate the means after segmenting the data?
            $endgroup$
            – kiva
            Mar 19 at 5:45







          1




          1




          $begingroup$
          Thanks Abhik, Why do you suppose I get different values when I calculate the means after segmenting the data?
          $endgroup$
          – kiva
          Mar 19 at 5:45




          $begingroup$
          Thanks Abhik, Why do you suppose I get different values when I calculate the means after segmenting the data?
          $endgroup$
          – kiva
          Mar 19 at 5:45










          kiva is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          kiva is a new contributor. Be nice, and check out our Code of Conduct.












          kiva is a new contributor. Be nice, and check out our Code of Conduct.











          kiva is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Data Science Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47579%2fdifference-between-cluster-centers-and-means%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

          Tähtien Talli Jäsenet | Lähteet | NavigointivalikkoSuomen Hippos – Tähtien Talli

          Do these cracks on my tires look bad? The Next CEO of Stack OverflowDry rot tire should I replace?Having to replace tiresFishtailed so easily? Bad tires? ABS?Filling the tires with something other than air, to avoid puncture hassles?Used Michelin tires safe to install?Do these tyre cracks necessitate replacement?Rumbling noise: tires or mechanicalIs it possible to fix noisy feathered tires?Are bad winter tires still better than summer tires in winter?Torque converter failure - Related to replacing only 2 tires?Why use snow tires on all 4 wheels on 2-wheel-drive cars?