Change Log#
[0.2.1] - 2024-08-15#
Bugfixes#
Getting started in the docs still used the old
bias_eoobject. Now it shows the correct namebias_metric_eo.
[0.2.0] - 2024-08-13#
Added#
Plots#
Calibration plot
fairscoring.plots.plot_groupwise_score_calibrationto visualize calibration bias.Cumulative distribution plot
fairscoring.plots.plot_groupwise_cdfsand the differencefairscoring.plots.plot plot_cdf_diffs. to visualize independence, equal opportunity and predictive equality bias.Custom colormaps in
fairscoring.plots.colors.
Bias Result Objects#
New result type
IntegralBiasResultnow contain the cdfs of the group distributions.
Changed#
Submodules of
fairscoring.metricsare now public.The class
TwoGroupMixinis now calledTwoGroupMetric. This allows for a more consistent naming scheme.The default bias metrics where renamed from
bias_-prefix to abias_metric_-prefix. This was done, because the old names likebias_eoare ideal names for variables holding the result of a bias computation.Extended documentation now available at readthedocs.
Deleted#
The independence bias has no default instance
fairscoring.metrics.bias_indanymore. The reason is, that independence bias is no recommended bias metric.
[0.1.1] - 2024-06-19#
Added#
Parameter
prefer_high_scoresto allow for both types of scores. This allowed for shorter dataset handling of the COMPAS examples.Preparation to host docs on readthedocs.
Fixed#
Show correct project-link on pypi.org
README.mdshows the correct installation command
[0.1.0] - 2024-06-03#
Added#
Bias Metric Classes for
Calibration:
fairscoring.metrics.CalibrationMetricWasserstein Distance:
fairscoring.metrics.WassersteinMetricROC-base Metrics:
fairscoring.metrics.roc.ROCBiasMetric
Default Bias Metrics for
Equal Opportunity:
fairscoring.metrics.bias_eoPredictive Equality:
fairscoring.metrics.bias_peCalibration:
fairscoring.metrics.bias_calIndependence:
fairscoring.metrics.bias_indROC:
fairscoring.metrics.roc.bias_rocxROC:
fairscoring.metrics.roc.bias_xroc
Experiments on
Adult Dataset
COMPAS Dataset
German Credit Risk Dataset
Tests for compatibility with results in the publication
COMPAS Dataset