CommencerCommencez gratuitement

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.

Cet exercice fait partie du cours

<cours>Introduction to Anomaly Detection in R</cours>
Voir le cours

Exercice interactif pratique

Essayez cet exercice en complétant ce code d’exemple.

# Fit isolation forest
wine_forest <- iForest(___)
Modifier et exécuter le code