v0.7.0#
Added new
count()
metric, so that the number of data points in each group is noted when usingMetricFrame
.Changed
MetricFrame
constructor API. Themetric
argument is nowmetrics
and all positional arguments are now keyword arguments. The previous call format still works (until v0.10.0), but issues a deprecation warning.fairlearn.postprocessing.ThresholdOptimizer
now acceptspredict_method
as a parameter which allows users to define which estimator method should be used to get the prediction values:"predict_proba"
and"decision_function"
for soft values and"predict"
for hard values from classifiers.Removed
fairlearn.widgets
module including theFairlearnDashboard
. Instead, thefairlearn.metrics.MetricFrame
supports plotting as explained in Plotting.Added return value (
self
) tofairlearn.reductions.ExponentiatedGradient
’sfit
method.