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.
Diese Übung ist Teil des Kurses
Introduction to Anomaly Detection in R
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Scale the measurement columns of thyroid
scaled_thyroid_measurements <- ___(___)
# Create a LOF score for the measurements
lof_score <- ___(___, ___)