Fit an isolation forest
An isolation forest is a collection of isolation trees, and uses exactly the same commands that you used in the previous lesson to grow a single isolation tree. In this exercise, you'll practice fitting an isolation forest to the wine data.
When growing an isolation forest you should to pay particular attention to the number of trees and the number of points sampled to grow each tree.
Latihan ini adalah bagian dari kursus
Introduction to Anomaly Detection in R
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Fit isolation forest
wine_forest <- iForest(___)