liveBook · Manning

Decision boundary

As explained in Outlier Detection in Python

A decision boundary is a surface in feature space that separates regions assigned different model decisions or classes.

A decision boundary is a surface separating regions assigned different decisions. In one-class outlier detection, an OCSVM fits a compact boundary around normal training data, allowing later points inside or outside it to be classified as normal or novel. section 5.4

The boundary balances compactness against excluding too many training points. Points just outside may still be normal, while points far outside are stronger outlier candidates; the boundary is therefore informative rather than infallible. section 5.4

Plotting an OCSVM boundary

Two synthetic two-dimensional clusters are used to fit an OCSVM. A plotted contour shows the learned boundary and distance from it, making normal and outlying test points visually comparable.

How Outlier Detection in Python covers it

How deep it goes
Explains the compactness trade-off and visualizes boundary distance, but stops short of deriving the SVM internals.
Examples
Uses two synthetic Gaussian clusters, plotted contours, normal test points, and generated outliers.
What it assumes
Assumes training data representing one class and teaches how that data defines a normal region.
What you can do after
Diagnose subsequent observations by checking whether they fall within an OCSVM decision boundary.
How it connects
Connects decision boundaries with one-class methods, OCSVM, novelty detection, and outlier detection.

Also explained in

Compare how 4 books explain decision boundary →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Outlier Detection in Python. The section links point to the parts of the book it draws on.