Course Content
Data Anomaly Detection
Data Anomaly Detection
Challenge: Using DBSCAN Clustering to Detect Outliers
Swipe to show code editor
Now, you will apply the DBSCAN clustering algorithm to detect outliers on a simple Iris dataset.
You have to:
- Specify the parameters of the DBScan algorithm: set
eps
equal to0.35
andmin_samples
equal to6
. - Fit the algorithm and provide clustering.
- Get outlier indexes and indexes of normal data. Pay attention that outliers detected by the algorithm have a
-1
label.
Thanks for your feedback!
Challenge: Using DBSCAN Clustering to Detect Outliers
Swipe to show code editor
Now, you will apply the DBSCAN clustering algorithm to detect outliers on a simple Iris dataset.
You have to:
- Specify the parameters of the DBScan algorithm: set
eps
equal to0.35
andmin_samples
equal to6
. - Fit the algorithm and provide clustering.
- Get outlier indexes and indexes of normal data. Pay attention that outliers detected by the algorithm have a
-1
label.
Thanks for your feedback!
Challenge: Using DBSCAN Clustering to Detect Outliers
Swipe to show code editor
Now, you will apply the DBSCAN clustering algorithm to detect outliers on a simple Iris dataset.
You have to:
- Specify the parameters of the DBScan algorithm: set
eps
equal to0.35
andmin_samples
equal to6
. - Fit the algorithm and provide clustering.
- Get outlier indexes and indexes of normal data. Pay attention that outliers detected by the algorithm have a
-1
label.
Thanks for your feedback!
Swipe to show code editor
Now, you will apply the DBSCAN clustering algorithm to detect outliers on a simple Iris dataset.
You have to:
- Specify the parameters of the DBScan algorithm: set
eps
equal to0.35
andmin_samples
equal to6
. - Fit the algorithm and provide clustering.
- Get outlier indexes and indexes of normal data. Pay attention that outliers detected by the algorithm have a
-1
label.