MulaiMulai sekarang secara 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.

Latihan ini adalah bagian dari kursus

Introduction to Anomaly Detection in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

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

# Create a LOF score for the measurements
lof_score <- ___(___, ___)
Edit dan Jalankan Kode