Python Data Science Essentials - Third Edition
by Alberto Boschetti, Luca Massaron, Pietro Marinelli, Matteo Malosetti
OneClassSVM
As EllipticEnvelope fits a hypothetical Gaussian distribution, leveraging parametric and statistical assumptions, OneClassSVM is a machine learning algorithm that learns what the distribution of the features should be from the data itself, and therefore is applicable in a large variety of situations when you want to be able to catch all the outliers but also the unusual data examples.
It is great if you already have a clean dataset and have it fitted by machine learning algorithms. Afterwards, OneClassSVM can be summoned to check if any new example fits in the historical distribution, and if it doesn't, it will signal a novel example, which might be both an error or some new, previously unseen situation.
Just think of data science ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access