HomeData ScienceOne-Class SVM Anomaly Boundary

One-Class SVM Anomaly Boundary

Watch a one-class SVM (RBF-kernel density) boundary enclose a normal data cloud in 3D — tune gamma and nu and see which points get flagged, plus live true/false positive counts.

Data Science3DAdvanced60 FPS
ds-topic-36 ↗ Open standalone

This simulation visualizes how a one-class SVM separates normal data from anomalies without ever seeing a labelled anomaly during training. Every point contributes an RBF kernel "bump" of density; summed together those bumps form a decision surface, rendered here as a voxel volume, that encloses the bulk of the data. Points whose local density falls below a nu-controlled threshold sit outside the boundary and get flagged. Tune gamma to make the boundary tighter or looser, tune nu to control how aggressively it flags outliers, and switch between data shapes to see the boundary adapt to blobs, two separate clusters, or a ring manifold.

⚙ Under the hood

Watch a one-class SVM (RBF-kernel density) boundary enclose a normal data cloud in 3D — tune gamma and nu and see which points get flagged, plus live true/false positive counts.

anomaly detectionone-class svmmachine learningkernel densityoutlier detectionunsupervised learning

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)