Skill 2.4.1

Detect and analyze data drift

Key Concepts

A model monitor compares a production data window, such as the inputs collected from an online deployment by the data collector, with a reference data window, such as the training data or an earlier production period. The data drift signal computes a distance per feature: Jensen-Shannon distance, Population Stability Index, Normalized Wasserstein distance or the two-sample Kolmogorov-Smirnov test for numerical features, and Pearson's chi-squared test or Jensen-Shannon distance for categorical features.

Each metric has a threshold, and the monitor reports which features drifted and by how much. Prediction drift applies the same comparison to model outputs, and data quality tracks null values, data type errors and out-of-range values. Analysis then asks whether the drifted features matter to the model, which feature attribution drift (preview) measures by comparing feature importance with the training data.