Fit and predict with an isolation tree
The two most important functions to know when fitting an isolation tree are iForest()
to fit and predict()
to generate an isolation score. In this exercise, you'll use these two functions to explore isolated points in the wine
data set.
This exercise is part of the course
Introduction to Anomaly Detection in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Build an isolation tree
wine_tree <- iForest(___)