Top 2 Hyperparameters Defining OCSVM's Boundary

The 'nu' (ν) parameter controls the fraction of expected outliers and support vectors, with typical values between 0.01 and 0.15, while 'gamma' (γ), especially for RBF kernels, dictates the influence of individual training examples and the smoothness of the decision boundary.

The top 3

  1. Nu Parameter's Dual Role in Outlier Control: The 'nu' parameter in OCSVM simultaneously acts as an upper bound on the fraction of training errors (outliers) and a lower bound on the fraction of support vectors, both within the range [0, 1]. For instance, setting nu = 0.05 means at most 5% of training data are outliers and at least 5% become support vectors.
  2. Gamma's Influence on Boundary Smoothness vs. Complexity: The 'gamma' parameter, crucial for RBF kernels, controls the influence of individual training examples: smaller values create smoother, broader decision boundaries (less sensitive to noise), while larger values lead to more complex, tighter, potentially overfitted boundaries.
  3. Kernel Function's Impact on Anomaly Separation: Beyond nu and gamma, the chosen kernel function (e.g., RBF, linear, polynomial) is paramount, as it determines how input data is mapped to a higher-dimensional space, fundamentally shaping the 'normal' boundary and its ability to distinguish anomalies.

Sources

Open the full topic