Understanding Z=linkage output column 3
2 views (last 30 days)
Show older comments
Jasmina Burek
on 25 Jul 2017
Edited: Kristen Amaddio
on 28 Jul 2017
"In this output, each row identifies a link between objects or clusters. The first two columns identify the objects that have been linked. The third column contains the distance between these objects. For the sample data set of x- and y-coordinates, the linkage function begins by grouping objects 4 and 5, which have the closest proximity (distance value = 1.0000). The linkage function continues by grouping objects 1 and 3, which also have a distance value of 1.0000." https://www.mathworks.com/help/stats/hierarchical-clustering.html What if my column
3 distance values are 0 or between 0 and 1? Is that still closest proximity? Kind regards,
Jasmina
0 Comments
Accepted Answer
Kristen Amaddio
on 28 Jul 2017
Edited: Kristen Amaddio
on 28 Jul 2017
Yes, this would still be closest proximity. Column 3 of 'Z' contains the linkage distances between the two clusters merged in that row. So if the third column in your example has distance values of 0 or between 0 and 1, that is fine. That is still closest proximity.
If you look at the example in the 'linkage' documentation, you will see that the third column of 'Z' contains values of 0 and between 0 and 1, as well as values greater than 1:
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!