Sezione 1. Capitolo 27
single
Challenge: Implementing DBSCAN
Scorri per mostrare il menu
Compito
Scorri per iniziare a programmare
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 27
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione