One-Class SVM: Defining the Boundary of 'Normal'

One-Class SVM identifies anomalies by learning a tight boundary around normal data points in a high-dimensional feature space, making it ideal when only examples of typical behavior are available for training.

The top 3

  1. OCSVM's 'Nu' and Kernel: Shaping the Normal Boundary: The 'nu' (ν) parameter in One-Class SVM directly controls the upper bound on the fraction of outliers and the lower bound on support vectors, while kernel functions like Radial Basis Function (RBF) allow the algorithm to define complex, non-linear boundaries around normal data in higher dimensions.
  2. One-Class vs. Standard SVM: Training for Anomaly vs. Classification: Unlike traditional Support Vector Machines (SVM) which require labeled data from two or more classes to find a separating hyperplane, One-Class SVM trains exclusively on 'normal' data, effectively separating it from the origin in a high-dimensional feature space to define a robust boundary for anomaly detection.
  3. OCSVM's Niche: When it Outperforms Isolation Forest for Anomaly Detection: One-Class SVM is often preferred for anomaly detection when a clean dataset of 'normal' instances is available for training and the data is of moderate dimensionality and bounded. In contrast, Isolation Forest is typically faster and more scalable for very large, high-dimensional datasets, especially when the training data might contain some anomalies.

Sources

Open the full topic