Is it possible to define the threshold using the distance between clusters in hierarchical clustering?

3 次查看(过去 30 天)
I am clustering my data using hierarchical clustering.
So far, I calculated the pairwise distance between data and found the tree containing the hierarchical cluster with linkage function.
I would like to form the hierarchical cluster when the distance between clusters are smaller than a certain distance (42.3m).
The following figure of data is the output of linkage function, the third column is the distance between the two cluster merged. I would like to form the hierarchical cluster until index 24242 (24242th link).
I understand the threshold for defining clusters are either the heights or the inconsistency coefficients of nodes.
Is it possible to define the threshold using the distance between clusters or the link number?
I believe there must be a better approach than using the cluster function in this situation, but I'm at a loss.
Thanks in advance!
  1 个评论
Naomi Gray
Naomi Gray 2022-9-7
My mistake... I didn't understand that the 'height' of the tree meant the measure of closeness of either individual data points or clusters.
I should use distance criterion in this case.

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by