How does an Isolation Forest differ fundamentally from a standard Random Forest?
Last updated
Isolation Forest is an unsupervised anomaly detector with fully random splits (random feature and threshold). A Random Forest is supervised and chooses splits that maximize impurity reduction.
It scores points by average path length to isolation: anomalies isolate quickly, so a score near 1 means anomaly and well below 0.5 means normal.
It uses small subsamples (default 256) with shallow trees, versus RF's bootstrapped deep trees. A threshold must be set (e.g.
contamination).