Log inStart free
LESSON 4.C5 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW

Anomaly detection compared

Four detectors score the same 40 points and flag different outliers.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 4.C5 · ANOMALY BAY40 POINTS · 5 TRUE OUTLIERS · 4 DETECTORS
01
Stage 1 of 6 · Same points
Four detectors score the same 40 points. Points 36 to 40 are the true outliers.
Explain it simply

You see 24 points packed tight on the left and 11 spread out on the right. Five more points sit alone, with bold numbers 36 to 40: those are the true outliers. No detector knows which points they are. Each detector gives every point a score, and a high score means unusual.

A plane with 40 teal points: a dense cluster of 24 and a sparse cluster of 11. Five outliers, numbered 36 to 40, sit apart. The followed point is outlier 37.

pointscorecutflagged
−3−2−101234−3−2−10123x₁x₂3637383940dense · 24sparse · 114.08 z-scores4.37 isolation forest4.38 one-class SVM4.39 local outlier factorscore |z|own cut |z| > 3score sown cut s > 0.5score ρ − fown cut ρ − f > 0score LOFown cut LOF > 1.540 points, no labelsfour detectorspoint 37 at (−3.10, 2.30) · true outliers: 36–40−3−2−101234−3−2−10123x₁x₂3637383940dense · 24sparse · 114.08 z-scores4.37 isolation forest4.38 one-class SVM4.39 local outlier factorscore |z|own cut |z| > 3score sown cut s > 0.5score ρ − fown cut ρ − f > 0score LOFown cut LOF > 1.540 points, no labelsfour detectorspoint 37 at (−3.10, 2.30) · true outliers: 36–40
Toy: the 4.C5 toy · 40 points: 24 dense, 11 sparse, 5 outliers
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
n=24+11+5=40\sy{n}{data}{n} = 24 + 11 + \sy{true}{ink}{5} = 40
x37=(−3.10, 2.30)x_{37} = (-3.10,\ 2.30)

Two clusters and five outliers make forty points.

Common mix-ups

MYTHGood detectors flag the same outliers.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01With the top 5 rule, which outlier does LOF miss?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 2 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.