Challenge: Implementing Hierarchical Clustering
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 5