Isolation Forest's O(N log N) vs. Rivals' O(N²)

Isolation Forest achieves its 10x to 100x speed advantage by operating with a linear time complexity of O(N log N) for training, contrasting sharply with the quadratic O(N²) complexity of distance-based methods like k-Nearest Neighbors (k-NN) and Local Outlier Factor (LOF) on large datasets.

Sources

Open the full topic