Rajiv Shah /ML / AI ARCADETeaching ↗
STUDY / 03

Explore Anomaly Detection

Find points that stand apart.

Compare density with nearby points.
9 / 90flagged
3.519highest score
1.344cutoff score
× Coral: flagged · cyan: unflagged
Score how quickly splits isolate.
9 / 90flagged
0.737highest score
0.563cutoff score
× Coral: flagged · cyan: unflagged
Edit points with coordinates

Coordinates range from 0 to 1. You can also click the plot to add a point or remove a nearby point.

Compare ranked scores

Ranked by the left method. Higher is more unusual. Scores have different units across methods.

PointxyLocal outlier factorIsolation forestFlagged by
0.1480.9013.51940.7374Both
0.5770.0833.49380.6753Both
0.1150.5452.05290.5891Both
0.1980.4911.49890.5668Both
0.4690.3131.43630.5079Left
0.2980.6791.42490.5601Left
0.3530.6941.41160.5347Left
0.8640.2361.38430.6040Both
0.5650.6801.34370.5650Both
0.3350.5981.33180.4509Neither
0.3960.3191.31970.5042Neither
0.4380.6301.28760.4464Neither
0.5420.5831.24870.4588Neither
0.4320.6441.24700.4574Neither
0.5270.5751.24480.4389Neither
0.4180.6081.24470.4344Neither
0.5070.6961.22780.5230Neither
0.3120.6481.22470.5208Neither
0.3530.5771.20950.4332Neither
0.3100.5551.20720.4317Neither
0.8340.2671.18830.5724Right
0.4930.5611.16800.4154Neither
0.2780.5361.15350.4888Neither
0.3080.5611.15130.4324Neither
0.5240.6501.14110.4905Neither
0.4520.6111.13450.4262Neither
0.5160.5851.12730.4369Neither
0.3380.3981.12270.4739Neither
0.4640.6611.11990.4744Neither
0.4800.6451.11890.4614Neither
0.5180.6041.11700.4496Neither
0.3440.5001.11530.4314Neither
0.4310.3821.11190.4441Neither
0.3110.4981.10490.4494Neither
0.8230.2511.09910.5191Neither
0.2930.5541.09600.4594Neither
0.3190.4321.09180.4682Neither
0.8210.2511.08890.5176Neither
0.3080.4441.07970.4845Neither
0.8140.2761.07870.5635Right
0.4120.3871.07210.4388Neither
0.3720.5191.06950.4179Neither
0.4410.4891.06780.3950Neither
0.7010.2121.06610.5516Neither
0.5180.4651.06510.4239Neither
0.3860.3991.06470.4331Neither
0.4890.5271.06250.4044Neither
0.3910.4781.05770.4095Neither
0.7470.1821.05760.5625Right
0.3670.4801.05730.4247Neither
0.4360.5861.05250.4076Neither
0.5160.4691.04870.4252Neither
0.5140.4571.04720.4216Neither
0.4270.4561.04710.3944Neither
0.7390.2241.04700.5100Neither
0.4910.3931.04580.4390Neither
0.3660.4321.04330.4375Neither
0.4010.5241.04180.3944Neither
0.4900.4451.04090.4150Neither
0.4600.4941.03880.4111Neither
0.4710.5011.03660.4071Neither
0.4940.4641.03520.4127Neither
0.5330.4401.03080.4453Neither
0.7160.2211.02940.5332Neither
0.7960.2411.02170.5119Neither
0.7440.1931.02140.5464Neither
0.5080.4111.01690.4522Neither
0.5350.4301.01510.4585Neither
0.3870.4241.00770.4272Neither
0.4000.5421.00330.3909Neither
0.7470.2151.00190.5150Neither
0.4600.5331.00150.3935Neither
0.4000.5480.99760.3918Neither
0.4620.4010.98310.4240Neither
0.4380.5410.98250.3852Neither
0.4030.5600.97860.4007Neither
0.7250.2590.97850.5016Neither
0.4280.5200.97600.3861Neither
0.4710.5590.97520.4059Neither
0.7680.2570.97420.4921Neither
0.7680.2500.97320.4924Neither
0.4480.4490.97110.3991Neither
0.4480.4200.96640.4214Neither
0.4380.5550.96430.3846Neither
0.4480.5460.95900.3783Neither
0.4430.5440.95150.3774Neither
0.4430.5520.95120.3829Neither
0.7520.2630.94620.5023Neither
0.7730.2060.93960.5328Neither
0.7500.2590.92960.4839Neither
Anomaly detection: methods and experiments

Correlated cloud: compare axis-based Z-scores with covariance-aware Mahalanobis distance. Unequal density: compare local LOF with global distance. Clusters + outliers: compare robust median/MAD scores with ordinary mean/std scores.

kNN uses mean distance to k neighbors. Z-score and robust Z-score take the largest absolute coordinate score. Mahalanobis uses regularized empirical covariance, not a robust estimator. GMM scores negative log density, which can be negative; they are not probabilities. Flags always select the requested top fraction, even on uniform data. Ties break by point index. Original walkthrough ↗

Source / Rajiv’s original outlier app