dataeval.bias.BalanceOutput¶
- class dataeval.bias.BalanceOutput¶
Output class for the
Balancebias evaluator.Contains three polars DataFrames with mutual information scores and threshold flags.
- balance¶
DataFrame with global class-to-factor mutual information: - factor_name: str - Name of the metadata factor - mi_value: float - Mutual information value between this factor and class labels
- Type:¶
pl.DataFrame
- factors¶
DataFrame with inter-factor mutual information correlations: - factor1: str - Name of the first factor - factor2: str - Name of the second factor - mi_value: float - Mutual information value - is_correlated: bool - True if mi_value > factor_correlation_threshold
- Type:¶
pl.DataFrame
- classwise¶
DataFrame with per-class-to-factor mutual information: - class_name: str - Name of the class - factor_name: str - Name of the metadata factor - mi_value: float - Mutual information value - is_imbalanced: bool - True if mi_value > class_imbalance_threshold
- Type:¶
pl.DataFrame