liveBook · Manning

Correlation matrix

As explained in Machine Learning System Design

A correlation matrix is a table whose entries quantify pairwise statistical association between variables.

A correlation matrix is a table whose entries quantify pairwise statistical association between variables. In feature monitoring, it provides a compact way to spot abnormal relationships in incoming data. section 14.5.1

A practical monitoring workflow uses it to:

  • Plot correlations between features for a current monitoring window. section 14.5.1
  • Compare the new plot with a comparison plot to identify changes in relationships. section 14.5.1
  • Trigger an alarm when comparison residuals exceed an absolute threshold of 0.15. section 14.5.1

Monitoring feature relationships

A retail forecasting pipeline plots the correlation matrix between features and compares successive plots. A substantial difference becomes an early warning that the input data has changed. section 14.5.1

How Machine Learning System Design covers it

How deep it goes
Explains plotting and comparing matrices with an alarm threshold, but does not derive correlation calculations.
Examples
Uses successive feature correlation plots in a retail forecasting pipeline.
What it assumes
Assumes feature-level monitoring and comparison plots; does not teach correlation computation from zero.
What you can do after
Diagnose/debug with it by detecting changing relationships among model input features.
How it connects
Connects correlation monitoring to data quality, data stability, and data drift checks.

Also explained in

Compare how 5 books explain correlation matrix →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.