Instructions
Read the Jupyter notebook in this task's folder before trying the compulsory task.
Compulsory Task
• Load the Iris data set. Select two features from the data to use in this
exercise and scale the data.
• Using single and complete linkages, and Euclidean and Cityblock distance
metrics, print dendrograms for the different combinations of these. You
should have 4 dendrograms. Different distance metrics are listed here.
• Pick one dendrogram to go forward with.
o Choose a fixed number of clusters based on the dendrogram of your
choice. These should be the most dissimilar clusters.
o Run agglomerative hierarchical clustering with that number of
clusters (and the linkage method and distance metric used for that
dendrogram).
o Verify the clusters you obtained by using the Silhouette score and
comment on your confidence in your clustering solution.