class_docstr: Class to evaluate a zero-one loss.
  
  Read more in the :ref:`User Guide <constraints_regression>`.
class_docstr_tok: ["Class","to","evaluate","a","zero-one","loss",".","Read","more","in","the",":","ref",":","`","User","Guide","<","constraints_regression",">","`","."]
code: def __init__(self):
      super().__init__(0, 1)
  
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 ZeroOneLoss object from inherited base classes: AbsoluteLoss with example: obj = ZeroOneLoss()