liveBook · Manning

Supervised learning

As explained in Outlier Detection in Python

A machine learning paradigm in which models learn from data accompanied by labels.

Supervised learning trains a model from data paired with labels. The model learns to predict those labels for new records, documents, images, measurements, or other inputs. section 1.2

The predictor’s role depends on the label type:

  • Classification predicts categorical labels, such as whether an image shows a cat, dog, or hamster. section 1.2
  • Regression predicts numeric labels, such as a numeric quality measure or the number of distinct animals in an image. section 1.2

For outlier detection, supervision becomes practical after enough flagged records have been assessed and labeled. Classifiers can then distinguish points of interest from ordinary records, use boosted models or AutoML tools, and sometimes provide more interpretable models than dedicated outlier detectors. section 4.3.3

From detector feedback to classification

A long-running detector flags records, and people label them as points of interest or not. With sufficient labeled examples, a classifier can replace or supplement the detector. A shallow decision tree may also be converted into rules for an existing rules-based system. section 4.3.3

How Outlier Detection in Python covers it

How deep it goes
Explains labels, classification, and regression, then addresses classifier benefits and contamination risks without covering training internals.
Examples
Uses labeled animal images, numeric image-quality labels, flagged records, shallow decision trees, and converted rules.
What it assumes
Assumes data records are familiar but teaches from zero how labels distinguish supervised learning from unlabeled analysis.
What you can do after
Build predictors from labeled data and evaluate when classifiers or interpretable rules can support outlier detection.
How it connects
Connects classification and regression with unsupervised learning, outlier detection, decision trees, generalized additive models, boosted models, and AutoML.

Also explained in

Compare how 19 books explain supervised learning →

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.