Coding an Agglomerative code that read a database with 4 attributes and n classes.
I am using, 3 datasets.
- has 2 classes
- has 16 classes
- has 3 classes
So, because of numbers above, I choose to generate three graphs with 2, 3, and 16 clusters.
All datas were downloaded from UCI repository: https://archive.ics.uci.edu/ml/datasets.html?format=&task=&att=&area=&numAtt=&numIns=&type=&sort=taskUp&view=table
Based on:
http://scikit-learn.org/stable/modules/generated/sklearn.cluster.AgglomerativeClustering.html
and
https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.cluster.hierarchy.dendrogram.html