Introduzione all'Anomaly Detection in R
Alastair Rushworth
Data Scientist


library(isofor)furniture_tree <- iForest(data = furniture, nt = 1)
Argomenti di iForest()
data - dataframent - numero di alberi di isolamento da crescere
Download del pacchetto da https://github.com/Zelazny7/isofor
furniture_score <- predict(furniture_tree, newdata = furniture)
Argomenti di predict()
object - modello iForest addestratonewdata - dati da valutarefurniture_score[1:10]
[1] 0.5820092 0.5820092 0.5439338 0.5820092 0.5439338
[6] 0.5820092 0.7129862 0.5363547 0.5363547 0.5363547
Lunghezza del percorso standardizzata
Introduzione all'Anomaly Detection in R