Anomaly Score Secret: Average Path Length Quantifies Rarity

The anomaly score in Isolation Forest is calculated based on the average path length of an instance across all isolation trees. A shorter average path length yields a higher anomaly score, with scores closer to 1 indicating a greater likelihood of being an anomaly, while scores near 0.5 or lower suggest a normal point.

Sources

Open the full topic