Sección 1. Capítulo 27
single
Challenge: Implementing DBSCAN
Desliza para mostrar el menú
Tarea
Desliza para comenzar a programar
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 27
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla