NumericalDriftMetrics Class

Numerical Drift Metrics

Constructor

NumericalDriftMetrics(*, jensen_shannon_distance: float | None = None, normalized_wasserstein_distance: float | None = None, population_stability_index: float | None = None, two_sample_kolmogorov_smirnov_test: float | None = None, metric: str | None = None, metric_threshold: float | None = None)

Keyword-Only Parameters

Name Description
jensen_shannon_distance

The Jensen-Shannon distance between the two distributions

Default value: None
normalized_wasserstein_distance

The normalized Wasserstein distance between the two distributions

Default value: None
population_stability_index

The population stability index between the two distributions

Default value: None
two_sample_kolmogorov_smirnov_test

The two sample Kolmogorov-Smirnov test between the two distributions

Default value: None
metric
str

The name of the metric to apply the threshold to.

Default value: None
metric_threshold

The threshold value for the selected metric.

Default value: None