Kursinhalt
Clusteranalyse
Clusteranalyse
1. Clustering Fundamentals
Challenge: Implementing DBSCAN
Aufgabe
Swipe to start coding
You are given a synthetic dataset stored in the data
variable.
- Initialize a DBSCAN model, set the epsilon set to
0.3
, minimal number of points to6
, and store it in thedbscan
variable. - Fit the model on the dataset, predict the cluster labels and store the result in the
labels
variable. - For each cluster
i
, extract the points belonging to this cluster and store the result in thecluster_points
variable.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 5. Kapitel 6
Challenge: Implementing DBSCAN
Aufgabe
Swipe to start coding
You are given a synthetic dataset stored in the data
variable.
- Initialize a DBSCAN model, set the epsilon set to
0.3
, minimal number of points to6
, and store it in thedbscan
variable. - Fit the model on the dataset, predict the cluster labels and store the result in the
labels
variable. - For each cluster
i
, extract the points belonging to this cluster and store the result in thecluster_points
variable.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 5. Kapitel 6