dataeval.shift.DriftOutput¶
- class dataeval.shift.DriftOutput¶
Output class for drift detector classes.
Provides common fields returned by all drift detection methods, containing instance-level drift predictions and summary statistics.
For non-chunked mode,
detailsholds a detector-specific TypedDict with test statistics (includingp_val). For chunked mode,detailsholds apolars.DataFramewith per-chunk results.- drifted¶
Whether drift was detected in the analyzed data. True indicates significant drift from reference distribution.
- Type:¶
bool
- threshold¶
Significance threshold used for drift detection, typically between 0 and 1. For multivariate methods, this is the corrected threshold after Bonferroni or FDR correction.
- Type:¶
float
- distance¶
Instance-level test statistic or distance metric, always >= 0. For univariate methods, this is the mean distance across all features. Higher values indicate greater deviation from reference distribution.
- Type:¶
float
- details¶
Detector-specific statistics (TypedDict) for non-chunked mode, or a
polars.DataFrameof per-chunk results for chunked mode.- Type:¶
T