Kom igångKom igång gratis

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.

Den här övningen är en del av kursen

Introduction to Anomaly Detection in R

Visa kurs

Interaktiv övning med praktiskt arbete

Testa den här övningen genom att slutföra den här exempelkoden.

# Fit isolation forest
wine_forest <- iForest(___)
Redigera och kör kod