One-Class SVM: Ideal for 'Normal-Only' Labeled Data
One-Class Support Vector Machine (OC-SVM) is particularly useful in semi-supervised scenarios where extensive 'normal' operational data is available for training, but anomalies are rare or unlabeled. It learns a boundary that encloses the normal class, classifying any data point outside this boundary as an anomaly.
The top 3
- OCSVM's Core: Smallest Enclosing Hypersphere: One-Class SVM fundamentally works by finding the smallest hypersphere (or hyperplane in a higher-dimensional feature space) that encloses the majority of the 'normal' training data points, effectively defining the boundary of what is considered typical.
- The 'Nu' Parameter: OCSVM's Anomaly Control: The crucial 'nu' (ν) parameter in One-Class SVM directly controls the trade-off between the fraction of training errors (outliers identified within the training set) and the fraction of support vectors, allowing precise tuning of the model's sensitivity to anomalies.
- OCSVM vs. Supervised Anomaly Detection: While OCSVM excels with 'normal-only' data by learning a boundary for normality, it differs from supervised anomaly detection methods (e.g., standard SVM, Isolation Forest) which require labeled examples of *both* normal and anomalous data to train a classifier.
Sources
Open the full topic