Linear Scaling Outpaces Quadratic Rivals

Isolation Forest exhibits near-linear time complexity (O(n log n), or effectively O(n) due to subsampling) for both training and prediction, allowing it to achieve 10x to 100x faster performance than distance-based anomaly detection methods like k-Nearest Neighbors or One-Class SVM, which typically face quadratic (O(n²)) complexity on large datasets. [3, 5, 8, 9, 12]

Sources

Open the full topic