Challenge: Agglomerative Clustering Challenge: Agglomerative Clustering


Your task is to use different linkage types and to look at the performance of agglomerative clustering on moons and circles datasets. You have to:

  1. Import AgglomerativeClustering class from sklearn.cluster module
  2. Add a parameter with the name linkage as an input of the function
  3. Add .fit() method of the agglomerative object to train the model
  4. Use 'single', 'complete', and 'average' as parameters of the function(parameters in the code have to be used in the same order)

Everything was clear?

Section 2. Chapter 4
toggle bottom row