fairlearn.reductions.AbsoluteLoss#

class fairlearn.reductions.AbsoluteLoss(min_val, max_val)[source]#

Class to evaluate absolute 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.

eval(y_true, y_pred)[source]#

Evaluate the absolute loss for the given set of true and predicted values.