internalsGet Pro

Module 08 · Lesson 5 of 9Pro

Anomaly detection: finding the unusual

Level
Intermediate
Topic
Unsupervised learning
Reading time
17 min

When you finish this page you can

  1. Explain why per-column rules such as z-scores and IQR fences miss rows that are unusual only as a combination.
  2. Trace how Isolation Forest scores a row by counting the random cuts needed to isolate it, and say when Local Outlier Factor fits better.
  3. Set the flag threshold from review capacity and check it against the break-even share of real problems.
  4. Judge a detector with the few labels you have, without treating unusual as bad.
  1. The normal distribution: why it appears everywhere14 min
  2. Decision trees: learning rules by splitting data14 min
  3. Imbalanced classes: when positives are rare16 min

Forty stolen cards the fraud model scored as safe

is our example online store. Farah, an ML engineer on its ML team, owns the fraud checks. In this lesson she needs one prediction for every order: is it worth a reviewer’s look?

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan