Kursinhalt
Data Anomaly Detection
Data Anomaly Detection
2. Statistical Methods in Anomaly Detection
Challenge: Using DBSCAN Clustering to Detect Outliers
Aufgabe
Swipe to start coding
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 2
Challenge: Using DBSCAN Clustering to Detect Outliers
Aufgabe
Swipe to start coding
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 2