dataeval.bias.DiversityOutput¶
- class dataeval.bias.DiversityOutput¶
Output class for the
Diversitybias evaluator.Contains two polars DataFrames with diversity scores and threshold flags.
- factors¶
DataFrame with columns: - factor_name: str - Name of the metadata factor - diversity_value: float - Diversity score for this factor - is_low_diversity: bool - True if diversity_value <= threshold
- Type:¶
pl.DataFrame
- classwise¶
DataFrame with columns: - class_name: str - Name of the class - factor_name: str - Name of the metadata factor - diversity_value: float - Diversity score for this class-factor combination - is_low_diversity: bool - True if diversity_value <= threshold
- Type:¶
pl.DataFrame