fairlearn.reductions.SquareLoss#

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

Class to evaluate the square loss.

Read more in the User Guide.

eval(y_true, y_pred)[source]#

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