The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Meaning of Cluster Centroid Values"
Hello,
I'm interested to know more about the typical range and "best values" for the Cluster Centroid Evaluator output when using it for KMeans results. I'm trying to cluster texts and don't know, which k for KMeans would be the best.
Are there any papers about it available?
Is the range between 0 and 1? What does a value of 0,5 mean?
Why are the values in the log operator for example 0,3 and in the performance vector 0,03?
What is the difference between a value of 0,35 and 0,37? Is it a meaningful difference?
............
Also I like to know more about the ExampleDistribution and the ClusterSimilarity in the same way.
Thanks for any hints about it,
Thieme
Example:
Operator ItemDistributionEvaluator ClusterCentroidEvaluator ClusterDensityEvaluator
Lerner k Example distribution Avg. within centroid distance Avg. within cluster similarity
Kmeans 25 0,60771443854906100000 0,02404988245272690000 9,29991686777007000000
Kmeans 49 0,28560482296982600000 0,02650818439798560000 7,31511727219542000000
Kmeans 97 0,09401610548077870000 0,02706375671595980000 5,42341328360529000000
Kmeans 194 0,03743006260029780000 0,02850372897318460000 4,44378527924390000000
Kmedoid 25 0,06200754673336320000 0,03254450760601510000 6,52771248771305000000
Kmedoid 49 0,04150703349766510000 0,02898622290257270000 5,87483323589922000000
Kmedoid 97 0,02837976550188670000 0,03195484899801600000 5,26930481169764000000
Kmedoid 194 0,02037039714322890000 0,03105148039167270000 4,66888084366150000000
I'm interested to know more about the typical range and "best values" for the Cluster Centroid Evaluator output when using it for KMeans results. I'm trying to cluster texts and don't know, which k for KMeans would be the best.
Are there any papers about it available?
Is the range between 0 and 1? What does a value of 0,5 mean?
Why are the values in the log operator for example 0,3 and in the performance vector 0,03?
What is the difference between a value of 0,35 and 0,37? Is it a meaningful difference?
............
Also I like to know more about the ExampleDistribution and the ClusterSimilarity in the same way.
Thanks for any hints about it,
Thieme
Example:
Operator ItemDistributionEvaluator ClusterCentroidEvaluator ClusterDensityEvaluator
Lerner k Example distribution Avg. within centroid distance Avg. within cluster similarity
Kmeans 25 0,60771443854906100000 0,02404988245272690000 9,29991686777007000000
Kmeans 49 0,28560482296982600000 0,02650818439798560000 7,31511727219542000000
Kmeans 97 0,09401610548077870000 0,02706375671595980000 5,42341328360529000000
Kmeans 194 0,03743006260029780000 0,02850372897318460000 4,44378527924390000000
Kmedoid 25 0,06200754673336320000 0,03254450760601510000 6,52771248771305000000
Kmedoid 49 0,04150703349766510000 0,02898622290257270000 5,87483323589922000000
Kmedoid 97 0,02837976550188670000 0,03195484899801600000 5,26930481169764000000
Kmedoid 194 0,02037039714322890000 0,03105148039167270000 4,66888084366150000000
Tagged:
0
Answers
before I can answer any of your questions regarding the difference of output, you have to provide a process I can run. So exchange any example source by an exampeset generator and post the process here. I will then come back and try to explain why this happens.
I guess there are many papers out there, but since I don't exactly know one, I would recommend this famous search engine google scholar. It probably will help you to find a suitable paper, or at least a paper having references to suitable papers...
Greetings,
Sebastian
here is an example process: My main questions concerning the results are:
- What does the value of 0.167 for k=2 mean?
- The optimal k=3 (because the distance is 0!?!) is not used in the "outer" kMeans Operator, where is my mistake?
Greetings,Thieme
the value is the average within cluster distance. That's the average of the distances between all members of a cluster.
That's because you have a typo in the ParameterSetter operator's parameter. Instead of naming the final KMeans operator "KMeans_OptimalLearner (3)", you are writing "KMeans_OptimalLearner". Probably because you have copied it several times after it first worked.
Greetings,
Sebastian
I expected a value of (nearly) 0.25, because in one cluster the average is 0 and in the other cluster the average is 0.5 (3 examples have a distance of 0 to the centroid and 4 examples have a distance of 1 to the centroid). Hm.
Thanks for the hint concerning the using of the opeartor names, now it works!
Greetings,
Thieme
I don't think that this is possible: The centroid of a KMeans clustering cannot be exactly the same as 3 points and one is a distance away. The centroid is always the mean vector from all cluster members. So this simply can never be the case.
Greetings,
Sebastian
thanks for the hint, that the centroid is the mean vector. We (my colleague and me) used KMedoid also and in both cases we get values that we don't expect.
Could it be possible that during building the average multiplication instead of addition is used? Multiplication
Greetings,
Thieme and AKeane
I think the solution is simple: The distance is measured in squared euclidean distance.
Greetings,
Sebastian
Now I can interpret the values of the cluster centroid evaluator using the log operator!
Greetings,
Thieme