v0.7.0#
Added new
count()metric, so that the number of data points in each group is noted when usingMetricFrame.Changed
MetricFrameconstructor API. Themetricargument is nowmetricsand all positional arguments are now keyword arguments. The previous call format still works (until v0.10.0), but issues a deprecation warning.fairlearn.postprocessing.ThresholdOptimizernow acceptspredict_methodas 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.widgetsmodule including theFairlearnDashboard. Instead, thefairlearn.metrics.MetricFramesupports plotting as explained in Plotting.Added return value (
self) tofairlearn.reductions.ExponentiatedGradient’sfitmethod.