ComenzarEmpieza gratis

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.

Este ejercicio forma parte del curso

Introduction to Anomaly Detection in R

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio completando el código de muestra.

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

# Create a LOF score for the measurements
lof_score <- ___(___, ___)
Editar y ejecutar código