dataeval.outputs.DriftMMDOutput¶
- class dataeval.outputs.DriftMMDOutput¶
Output class for
DriftMMD(Maximum Mean Discrepancy) drift detector.Extends
DriftBaseOutputwith MMD-specific distance threshold information. Used by MMD-based drift detectors that compare kernel embeddings between reference and test distributions.- distance¶
Squared Maximum Mean Discrepancy between reference and test set. Always >= 0, with higher values indicating greater distributional difference.
- Type:¶
float
- distance_threshold¶
Squared Maximum Mean Discrepancy threshold above which drift is flagged, always >= 0. Determined from permutation test at specified significance level.
- Type:¶
float
Notes
MMD uses kernel methods to compare distributions in reproducing kernel Hilbert spaces, making it effective for high-dimensional data like images.