Nu Parameter: The Anomaly Fraction Dial
The `nu` parameter (range 0-1) directly controls OCSVM's anomaly sensitivity, acting as an upper bound on training errors and a lower bound on support vectors. Lower `nu` values (e.g., 0.01-0.05 for financial fraud) yield stricter boundaries, while higher values (e.g., 0.10-0.20 for network security) create more flexible detection.
The top 3
- Nu's Dual Role: Outlier Bound & Support Vector Fraction: The 'nu' parameter in One-Class SVM simultaneously acts as an upper bound on the fraction of training data identified as outliers and a lower bound on the fraction of training samples that become support vectors. For example, a 'nu' of 0.05 means at most 5% of training data are outliers and at least 5% are support vectors.
- Impact of Nu on Anomaly Sensitivity and Boundary Tightness: Tuning 'nu' directly controls the One-Class SVM's sensitivity: lower 'nu' values create tighter boundaries around normal data, potentially increasing false positives, while higher values allow for a more lenient model, risking missed anomalies. This balance is crucial for managing precision and recall.
- Top Strategies for Optimal Nu Parameter Selection: Selecting the optimal 'nu' parameter requires systematic hyperparameter tuning, such as grid search or Bayesian optimization, rather than intuition. Practitioners often start with domain-appropriate ranges, like 0.01-0.05 for financial fraud or 0.10-0.20 for network security, refining with validation data.
Sources
Open the full topic