Aan de slagGa gratis aan de slag

Binarized scores

It's worthwhile to compare the performance of more than one anomaly detection algorithm before deciding which to use.

In this exercise, you'll construct a pair of binary anomaly scores based on local outlier factor (LOF) and the isolation forest. The isolation score vector iso_score generated in the previous exercise is preloaded for you to use.

Deze oefening maakt deel uit van de cursus

Introduction to Anomaly Detection in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Scale the measurement columns of thyroid
scaled_thyroid_measurements <- ___(___)

# Create a LOF score for the measurements
lof_score <- ___(___, ___)
Code bewerken en uitvoeren