- Relaxed checks made on
Xin_validate_and_reformat_input()since that is the concern of the underlying estimator and not Fairlearn. - Add support for Python 3.9 and 3.10, remove support for Python 3.6 and 3.7
- 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. fairlearn.preprocessing.CorrelationRemovernow exposesn_features_in_andfeature_names_in_.- Added the ACSIncome dataset and corresponding documentation.
- Add
sphinxcontrib-bibtexextension to manage citations in documentation using bibtex. - Added support for explicitly specifying optimization objective in
fairlearn.reductions.ExponentiatedGradient. Added support for cost sensitive classification infairlearn.reductions.ErrorRate. - Internal performance improvements for
fairlearn.metrics.MetricFrame. Some results may now have a more appropriate type thanobject, but otherwise the only visible difference should be a substantial speed increase. - Added
fairlearn.metrics.plot_model_comparisonto create scatter plots for comparing multiple models along two metrics. - Added adversarial mitigation approaches
fairlearn.adversarial.AdversarialFairnessClassifierandfairlearn.adversarial.AdversarialFairnessRegressor.