eqdisco.mlops.population_stability_index#

eqdisco.mlops.population_stability_index(ref, new, bins=10)[source]#

PSI of a variable between reference and new samples (quantile bins of the reference).

Common reading: below 0.1 stable, 0.1–0.25 moderate shift, above 0.25 major shift. These constants ignore the sample sizes; see psi_critical_value().