Anomaly Detection — Isolation Forest and One-Class SVM
Anomaly detection — also called outlier detection — asks a fundamentally different question from clustering: rather than grouping similar points together, it asks which points are so different from the majority that they should be flagged as suspicious. Applications are everywhere: detecting fraudulent transactions, identifying sensor faults in industrial equipment, finding manipulated match statistics, or catching data entry errors before they corrupt a model.
Most anomaly detection is unsupervised: you have plenty of normal data but few (or zero) labelled anomalies to train on. The algorithms you will study here — Isolation Forest and One-Class SVM — both learn the structure of normal data and flag points that deviate from it. DBSCAN's noise points (Lesson 27) gave you a taste of this idea; Isolation Forest and One-Class SVM are purpose-built for anomaly scoring at scale.