trimZ.m

版本 1.0.0.0 (1.4 KB) 作者: David Snyder
trims the SAHN tree, Z, generated by the function, linkage to correspond to cluster(Z,'maxclust',m)
404.0 次下载
更新时间 2009/12/15

查看许可证

The statistics toolbox contains routines for hierarchical clustering, including the cluster routine uses the SAHN tree to group data into clusters. However, the toolbox seems to lack a routine that uses the SAHN tree to describe the hierarchical relationship between those clusters. This routine trims the SAHN tree produced by linkage in order to produce a new "tree" (that can be displayed using, e.g., dendrogram) whose leaf nodes have numbers corresponding to the cluster IDs produced using cluster and whose internal topology matches the topology of the top num_clusters nodes in the original SAHN tree and thus represents the clustering (i.e. in the SAHN tree) of the clusters extracted using clusters

引用格式

David Snyder (2024). trimZ.m (https://www.mathworks.com/matlabcentral/fileexchange/26113-trimz-m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Cluster Analysis and Anomaly Detection 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0