class_docstr: Class to evaluate the square loss.
  
  Read more in the :ref:`User Guide <constraints_regression>`.
class_docstr_tok: ["Class","to","evaluate","the","square","loss",".","Read","more","in","the",":","ref",":","`","User","Guide","<","constraints_regression",">","`","."]
code: def __init__(self, min_val, max_val):
      self.min_val = min_val
      self.max_val = max_val
      self.min = 0
      self.max = (max_val - min_val) ** 2
  
imports: import numpy
  import pandas
  from fairlearn.utils._input_validation import _validate_and_reformat_input
  from .moment import _ALL, _GROUP_ID, _LABEL, _LOSS, _PREDICTION, LossMoment
label_desc: Use image node_id 1 to create a new SquareLoss object  with example: obj = SquareLoss(min_val, max_val)