trimZ.m
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
Citar como
David Snyder (2024). trimZ.m (https://www.mathworks.com/matlabcentral/fileexchange/26113-trimz-m), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |