class_docstr: Moment that can be expressed as weighted loss.
class_docstr_tok: ["Moment","that","can","be","expressed","as","weighted","loss","."]
code: def __init__(self, loss):
      super().__init__()
      self.reduction_loss = loss
  
file_path: fairlearn/fairlearn/reductions/_moments/moment.py
imports: import pandas
label_desc: Use image node_id 1 to create a new LossMoment object from inherited base classes: Moment with example: obj = LossMoment(loss)