Course Content
Data Anomaly Detection
Data Anomaly Detection
2. Statistical Methods in Anomaly Detection
Challenge: Using DBSCAN Clustering to Detect Outliers
Task
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.
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 2
Challenge: Using DBSCAN Clustering to Detect Outliers
Task
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.
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 2
Switch to desktop for real-world practiceContinue from where you are using one of the options below