v0.4.5#
Changes to
ThresholdOptimizer:Separate plotting for
ThresholdOptimizerinto its own plotting function.ThresholdOptimizernow performs validations duringfit, and not during__init__. It also stores the fitted given estimator in theestimator_attribute.ThresholdOptimizeris now a scikit-learn meta-estimator, and accepts an estimator through theestimatorparameter. To use a pre-fitted estimator, passprefit=True.
Made
_create_group_metric_set_()private by prepending with_. Also changed the arguments, so that this routine requires dictionaries for the predictions and sensitive features. This is a breaking change.Remove
Reductionbase class for reductions methods and replace it withsklearn.base.BaseEstimatorandMetaEstimatorMixin.Remove
ExponentiatedGradientResultandGridSearchResultin favor of storing the values and objects resulting from fitting the meta-estimator directly in theExponentiatedGradientandGridSearchobjects, respectively.Fix regression in input validation that dropped metadata from
Xif it is provided as apandas.DataFrame.