Sektion 1. Kapitel 21
single
Challenge: Implementing Hierarchical Clustering
Stryg for at vise menuen
Opgave
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_matrixvariable. - Perform hierarchical clustering using the single linkage method and store the result in the
linkage_matrixvariable.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 21
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat