Challenge: Implementing Hierarchical Clustering
Compito
Swipe to start coding
You are given a synthetic dataset stored in the data
variable.
- Compute the pairwise distance matrix using the Euclidian metric and store the result in the
distance_matrix
variable. - Perform hierarchical clustering using the single linkage method and store the result in the
linkage_matrix
variable.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 4. Capitolo 5