Supplementary for learning hierararchical clustering
This supplementary materials includes several 2D toy datasets for beginners to learn the effect of different linkage on hierarchical clustering, and go one more step on how to visualize the clustering result with the same color in dendrogram.
See demo.m for an introduction. Toy datasets include double moons, 2 or 3 spirals, etc.
It includes almost everything from the sources but is different from the sources since some functions have been updated and no longer used as years go by.
-------------------------------------------------------------------------------------------------------------------------------------
Sources:
Toy datasets come from:
https://www.mathworks.com/matlabcentral/fileexchange/41459-6-functions-for-generating-artificial-datasets
https://stackoverflow.com/questions/49461217/separate-double-moon-classification-with-a-line-in-matlab
https://faculty.ucmerced.edu/mcarreira-perpinan/teaching/CSE176/Labs/datasets/
Ideas come from:
https://chalmers.instructure.com/courses/9441/assignments/16140
https://www.mathworks.com/matlabcentral/answers/96273-how-can-i-color-my-dendrogram-plot-such-that-the-colors-correspond-to-clusters-generated-by-the-clus
https://stackoverflow.com/questions/34948500/how-to-change-the-cluster-colours-in-a-dendrogram
Cite As
Lucas Teng (2024). Supplementary for learning hierararchical clustering (https://www.mathworks.com/matlabcentral/fileexchange/77134-supplementary-for-learning-hierararchical-clustering), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
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.
toydataset
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |