A one-class SVM with an RBF kernel is trained on n=200 normal points with ν=0.05. (a) What does ν guarantee about the number of training points outside the learned boundary and the number of support vectors? (b) What happens if you set ν=0.5 instead, and why would ν be a poor choice for contaminated data if set too small?

Unsupervised learning, Anomaly detection
Level L2 Elementary. Length Short. Nature Th+Mat Both.

What's being asked

Whether you know the ν-property of the one-class SVM and can turn it into numbers.

Key idea

ν is an upper bound on the fraction of training points treated as outliers (outside the boundary) and a lower bound on the fraction of support vectors.

Steps

  1. The one-class SVM finds a function f(x)=sign⁡(w⊤ϕ(x)−ρ) that separates the data from the origin in feature space with maximum margin. Points with f(x)<0 are called outliers.
  2. The ν-property: #outliersn≤ν≤#support vectorsn.
  3. With n=200 and ν=0.05: at most 0.05×200=10 training points fall outside the boundary, and at least 10 points are support vectors.
  4. With ν=0.5 the boundary is allowed to exclude up to 100 points and needs at least 100 support vectors. The region shrinks to the dense core, so many normal points are flagged.
  5. If ν is much smaller than the true contamination, the boundary stretches to include the anomalies and misses them. If it is much larger, normal points are rejected. So ν acts as the expected outlier rate.

Common mistakes

How long your answer should be

5–6 sentences with the two numbers.

Last checked on 4 December 2026.

Read this

Previous in Unsupervised learning: A Gaussian kernel density estimate with bandwidth h is built from the three 1-D points 1, 2 and 4. (a) Write p^(x) and compute p^(2) for h=1. (b) What does p^(2) become for h=0.2, and what does the change in h do to the estimate in general?
Next in Unsupervised learning: Five shopping baskets are T1 = {A, B, C}, T2 = {A, B}, T3 = {A, C}, T4 = {B, C, D} and T5 = {A, B, C, D}. Run Apriori with minimum support count 2 to list all frequent itemsets. Then, for the rules {A,B}→C and {B,C}→D, compute confidence and lift. Which rule shows a real association?