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?
$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?
k-means
New contributor
$endgroup$
add a comment |
$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?
k-means
New contributor
$endgroup$
add a comment |
$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?
k-means
New contributor
$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
k-means
New contributor
New contributor
edited Mar 19 at 12:40
tuomastik
753418
753418
New contributor
asked Mar 19 at 4:14
kivakiva
61
61
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$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.
New contributor
$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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
$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.
New contributor
$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
add a comment |
$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.
New contributor
$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
add a comment |
$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.
New contributor
$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.
New contributor
New contributor
answered Mar 19 at 4:31
Abhik BanerjeeAbhik Banerjee
11
11
New contributor
New contributor
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
add a comment |
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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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