liveBook · Manning

Retraining

As explained in Outlier Detection in Python

Retraining is the process of fitting a model again using new, updated, or expanded training data.

Retraining fits an outlier-detection model again as data, detection goals, or the supply of labeled examples changes. It can use newer data with the existing configuration or introduce substantive modeling changes. section 15.5

A practical retraining cycle includes:

  • Collect substantially more labeled data, including records of interest and records that are not. section 15.5
  • Choose between training on recent data with the previous setup or changing detectors, features, parameters, distance metrics, preprocessing, or ensemble combination methods. section 15.5
  • Run regression tests to verify that known outliers remain highly scored without excessively scoring labeled non-outliers. section 15.5

Checking a retrained detector

After retraining an outlier detector, score a stored list of labeled records. Confirm that previously identified outliers still receive high scores and that records labeled as not interesting do not receive high scores too often. section 15.5

How Outlier Detection in Python covers it

How deep it goes
Explains retraining choices and regression checks, but does not detail model-fitting algorithms or optimization internals.
Examples
Uses recent data, labeled records, synthetic data, and alternative detector configurations as retraining and testing artifacts.
What it assumes
Assumes an operating outlier-detection system and labeled records, while treating binary labels as the minimum useful labeling.
What you can do after
Diagnose retraining regressions by checking known outliers and non-outliers against stored labeled records.
How it connects
Connects retraining with outlier detection, regression testing, labeled data, preprocessing, distance metrics, and ensembles.

Also explained in

Compare how 4 books explain retraining →

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.