PerformanceBias.run_logic#
- PerformanceBias.run_logic(context: Context, dataset_kind: DatasetKind) CheckResult [source]#
Run the check logic.
- Returns
- CheckResult
value is a dataframe with performance scores for within each subgroup defined by feature and average scores across these subgroups. If control_feature was provided, then performance scores are further disaggregated by the gruops defined by this feature. display is a Figure showing the subgroups with the largest performance differences.