fairlearn.reductions.ZeroOneLoss#
- class fairlearn.reductions.ZeroOneLoss[source]#
Class to evaluate a zero-one loss.
Read more in the User Guide.
Methods
eval
(y_true, y_pred)Evaluate the absolute loss for the given set of true and predicted values.