v0.8.0#
Relaxed checks made on
Xin_validate_and_reformat_input()since that is the concern of the underlying estimator and not Fairlearn.Added support for Python 3.9 and 3.10, remove support for Python 3.6
Added error handling in
MetricFrame. Methodsgroup_max,group_min,differenceandrationow accepterrorsas a parameter, which could either beraiseorcoerce.Fixed a bug whereby passing a custom
gridobject to aGridSearchreduction would result in aKeyErrorif the column names were not ordered integers.CorrelationRemovernow exposesn_features_in_andfeature_names_in_.Added the ACSIncome dataset and corresponding documentation.
Added sphinxcontrib-bibtex extension to manage citations in documentation using bibtex.
Added support for explicitly specifying optimization objective in
ExponentiatedGradient. Added support for cost sensitive classification inErrorRate.Internal performance improvements for
MetricFrame. Some results may now have a more appropriate type thanobject, but otherwise the only visible difference should be a substantial speed increase.Added
plot_model_comparison()to create scatter plots for comparing multiple models along two metrics.Added adversarial mitigation approaches
AdversarialFairnessClassifierandAdversarialFairnessRegressor.