Get Cluster "Distances"
Input a SAHN tree (e.g. the result of a call to linkage) and the number, n, of clusters into which the SAHN tree is to be partitioned (e.g. by the function cluster). Output is a list of distances where the i'th distance corresponds to cluster i as produced by a call to cluster to produce n clusters. Each "distance" is the number associated with the node at the "root" of each cluster, i.e. the distance between the final two sub-clusters merged to produce the i'th cluster.
Cite As
David Snyder (2024). Get Cluster "Distances" (https://www.mathworks.com/matlabcentral/fileexchange/29406-get-cluster-distances), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |