Anomaly Scores with Isolation Trees

hard
Unit 22 · Bayesian0/0 to milestone

Isolation Forest finds anomalies by noticing they're easy to separate: random splits isolate an outlier in only a few steps, while normal points sit deep in the tree.

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Anomaly Scores with Isolation Trees · TechGradify