detectors#
Concept and data drift detectors.
This module exports both families.
Concept drift (
REQUIRES_FIT = False): feed a scalar, usually a prediction error, toadd_element().Data drift (
REQUIRES_FIT = True): compare input features to a reference withfit()orauto_fit_samples.
BaseDataDriftDetector and DataDriftResult are helpers,
not detectors to pick.
Concept drift#
Detector |
Typical input |
|---|---|
Feature vector, or a scalar error |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Scalar |
|
Feature vector and model prediction |
Data drift#
Detector |
Typical input |
|---|---|
Feature vector (numeric) |
|
Feature vector (numeric) |
|
Feature vector (categorical) |
|
Feature vector (numeric) |
|
Feature vector (numeric) |
|
Feature vector (numeric) |
|
Feature vector (numeric) |
|
Feature vector (numeric) |
|
Feature vector (numeric) |
|
Feature vector (numeric) |
|
Feature vector (numeric) |
|
Feature vector (numeric) |
|
Feature vector (numeric) |
Classes#
Adaptive Bernstein Change Detector (ABCD). |
|
ADWIN Drift Detector |
|
Bayesian Nonparametric Detection Method |
|
CUSUM Drift Detector |
|
Discriminative Drift Detector (D3) |
|
Drift-Detection-Method (DDM) Drift Detector |
|
Early Drift Detection Method (EDDM) Drift Detector |
|
Maximum Mean Discrepancy |
|
Optimal Window Concept Drift Detector |
|
Population Stability Index |
|
Reactive Drift Detection Method Drift Detector |
|
Seed Drift Detector |
|
Statistical Test of Equal Proportions Drift Detector |
|
STUDD: Student-Teacher Unsupervised Drift Detection |
|
Anderson-Darling K-Sample Test |
|
Base class for detectors that monitor the input data distribution. |
|
Chi-Square Test |
|
Cramér-von Mises Two-Sample Test |
|
Result returned by a data-drift comparison. |
|
EWMA Charts Drift Detector |
|
Energy Distance |
|
Geometric Moving Average Test Drift Detector |
|
Average Hoeffding's bounds Drift Detector |
|
Weighted Hoeffding's bounds Drift Detector |
|
Hellinger Distance |
|
Jensen-Shannon Distance |
|
Kullback-Leibler Divergence |
|
Kolmogorov-Smirnov Two-Sample Test |
|
Page-Hinkley Drift Detector |
|
Wasserstein Distance (Earth Mover's Distance) |