Measuring data drift with the unstable population indicator
Open Access
- 1 June 2024
- journal article
- research article
- Published by SAGE Publications in Data Science
- Vol. 7 (1) , 1-12
Abstract
Measuring data drift is essential in machine learning applications where model scoring (evaluation) is done on data samples that differ from those used in training. The Kullback-Leibler divergence is a common measure of shifted probability distributions, for which discretized versions are invented to deal with binned or categorical data. We present the Unstable Population Indicator, a robust, flexible and numerically stable, discretized implementation of Jeffrey’s divergence, along with an implementation in a Python package that can deal with continuous, discrete, ordinal and nominal data in a variety of popular data types. We show the numerical and statistical properties in controlled experiments. It is not advised to employ a common cut-off to distinguish stable from unstable populations, but rather to let that cut-off depend on the use case.Keywords
This publication has 18 references indexed in Scilit:
- Dataset shift assessment measures in monitoring predictive modelsProcedia Computer Science, 2021
- Array programming with NumPyNature, 2020
- Survey of distance measures for quantifying concept drift and shift in numeric dataKnowledge and Information Systems, 2018
- Analyzing concept drift and shift from sample dataData Mining and Knowledge Discovery, 2018
- Evaluating model drift in machine learning algorithms2015
- Matplotlib: A 2D Graphics EnvironmentComputing in Science & Engineering, 2007
- Divergence measures based on the Shannon entropyIEEE Transactions on Information Theory, 1991
- On Information and SufficiencyThe Annals of Mathematical Statistics, 1951
- A Mathematical Theory of CommunicationBell System Technical Journal, 1948
- A Mathematical Theory of CommunicationBell System Technical Journal, 1948