Isolation Forest: O(n log n) Speed vs. O(n²) Rivals

Isolation Forest achieves a linear time complexity of O(n log n) for training and O(log n) for detection, significantly outperforming many distance-based anomaly detectors which can suffer from O(n²) or higher complexity, especially in high-dimensional datasets.

Sources

Open the full topic