Perform DBSCAN Clustering
Swipe to start coding
As we mentioned in the previous chapter, DBSCAN algorithm classifies points as core, border, and noise. As a result, we can use this algorithm to clean our data from outliers. Let's create DBSCAN model, clean data, and look at the results.
Your task is to train DBSCAN model on the circles dataset, detect noise points, and remove them. Look at the visualization and compare data before and after cleaning. You have to:
- Import the
DBSCAN
class fromsklearn.cluster
module. - Use DBSCAN class and
.fit()
method of this class. - Use
.labels_
attribute of DBSCAN class. - Specify
clustering.labels_==-1
to detect noise.
Solução
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 7.14Awesome!
Completion rate improved to 7.14
Perform DBSCAN Clustering
Swipe to start coding
As we mentioned in the previous chapter, DBSCAN algorithm classifies points as core, border, and noise. As a result, we can use this algorithm to clean our data from outliers. Let's create DBSCAN model, clean data, and look at the results.
Your task is to train DBSCAN model on the circles dataset, detect noise points, and remove them. Look at the visualization and compare data before and after cleaning. You have to:
- Import the
DBSCAN
class fromsklearn.cluster
module. - Use DBSCAN class and
.fit()
method of this class. - Use
.labels_
attribute of DBSCAN class. - Specify
clustering.labels_==-1
to detect noise.
Solução
Obrigado pelo seu feedback!
single
Awesome!
Completion rate improved to 7.14
Perform DBSCAN Clustering
Deslize para mostrar o menu
Swipe to start coding
As we mentioned in the previous chapter, DBSCAN algorithm classifies points as core, border, and noise. As a result, we can use this algorithm to clean our data from outliers. Let's create DBSCAN model, clean data, and look at the results.
Your task is to train DBSCAN model on the circles dataset, detect noise points, and remove them. Look at the visualization and compare data before and after cleaning. You have to:
- Import the
DBSCAN
class fromsklearn.cluster
module. - Use DBSCAN class and
.fit()
method of this class. - Use
.labels_
attribute of DBSCAN class. - Specify
clustering.labels_==-1
to detect noise.
Solução
Obrigado pelo seu feedback!