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.
Cet exercice fait partie du cours
<cours>Introduction to Anomaly Detection in R</cours>Exercice interactif pratique
Essayez cet exercice en complétant ce code d’exemple.
# Scale the measurement columns of thyroid
scaled_thyroid_measurements <- ___(___)
# Create a LOF score for the measurements
lof_score <- ___(___, ___)