Abschnitt 1. Kapitel 27
single
Challenge: Implementing DBSCAN
Swipe um das Menü anzuzeigen
Aufgabe
Wischen, um mit dem Codieren zu beginnen
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 thedbscanvariable. - Fit the model on the dataset, predict the cluster labels and store the result in the
labelsvariable. - For each cluster
i, extract the points belonging to this cluster and store the result in thecluster_pointsvariable.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 27
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen