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

          Marja Vauras Lähteet | Aiheesta muualla | NavigointivalikkoMarja Vauras Turun yliopiston tutkimusportaalissaInfobox OKSuomalaisen Tiedeakatemian varsinaiset jäsenetKasvatustieteiden tiedekunnan dekaanit ja muu johtoMarja VaurasKoulutusvienti on kestävyys- ja ketteryyslaji (2.5.2017)laajentamallaWorldCat Identities0000 0001 0855 9405n86069603utb201588738523620927

          Which is better: GPT or RelGAN for text generation?2019 Community Moderator ElectionWhat is the difference between TextGAN and LM for text generation?GANs (generative adversarial networks) possible for text as well?Generator loss not decreasing- text to image synthesisChoosing a right algorithm for template-based text generationHow should I format input and output for text generation with LSTMsGumbel Softmax vs Vanilla Softmax for GAN trainingWhich neural network to choose for classification from text/speech?NLP text autoencoder that generates text in poetic meterWhat is the interpretation of the expectation notation in the GAN formulation?What is the difference between TextGAN and LM for text generation?How to prepare the data for text generation task

          Is this part of the description of the Archfey warlock's Misty Escape feature redundant?When is entropic ward considered “used”?How does the reaction timing work for Wrath of the Storm? Can it potentially prevent the damage from the triggering attack?Does the Dark Arts Archlich warlock patrons's Arcane Invisibility activate every time you cast a level 1+ spell?When attacking while invisible, when exactly does invisibility break?Can I cast Hellish Rebuke on my turn?Do I have to “pre-cast” a reaction spell in order for it to be triggered?What happens if a Player Misty Escapes into an Invisible CreatureCan a reaction interrupt multiattack?Does the Fiend-patron warlock's Hurl Through Hell feature dispel effects that require the target to be on the same plane as the caster?What are you allowed to do while using the Warlock's Eldritch Master feature?