Low vs. High Gamma: Capturing Anomaly Scale
Low gamma creates smooth, general boundaries ideal for detecting broad, subtle deviations, while high gamma forms complex, tight boundaries better suited for sharp, localized anomalies.
The top 3
- Low Gamma's Edge for Widespread Anomalies: Lower gamma values in One-Class SVM create smoother, broader decision boundaries. This makes the model less sensitive to individual data points, ideal for detecting anomalies that represent general deviations or are widely distributed across the feature space, rather than isolated outliers.
- High Gamma's Precision for Isolated Outliers: Conversely, higher gamma values create more intricate, localized decision boundaries. This heightened sensitivity allows OCSVM to precisely identify very specific, isolated data points as anomalies, even if they are close to the 'normal' data cluster, by focusing on fine-grained distinctions.
- Gamma Tuning: The Overfitting-Underfitting Trade-off: Selecting the optimal gamma for OCSVM involves a critical trade-off between underfitting and overfitting. A gamma value that is too low risks underfitting, causing the model to miss true anomalies, while a gamma that is too high risks overfitting, leading to false positives by flagging normal variations as anomalies. This necessitates careful hyperparameter tuning, often using techniques like grid search and cross-validation.
Sources
Open the full topic