Hello,
I have a question regarding hierarchical cluster analysis. One measure to determine the number of clusters is the so called elbow criteria, which is just a list of the single distances between the clusters.
These values are inside the results from the Agglomerate function, but I am not able to extract them to a list.
data = {{1, 2, 2}, {1, 3, 3}, {2, 4, 2}, {5, 4, 3}, {5, 4, 4}, {7, 6, 7}};
Agglomerate[data]
Cluster[Cluster[
Cluster[Cluster[{1, 2, 2}, {1, 3, 3}, 2, 1, 1], {2, 4, 2}, 3, 2, 1], Cluster[{5, 4, 3}, {5, 4, 4}, 1, 1, 1], 10, 3, 2], {7, 6, 7}, 17, 5, 1]
--> now I have to extract the values manually
elbowcriterium = ListLinePlot[{17, 10, 3, 2, 1}]
--> suggesting three clusters
Thanks a lot for a suggestion, how to handle this, which would be really helpful for me!