code: def map(self, pred, act, w, o, model):
      idx = int(act[0])
      err = 1 - pred[idx + 1] if idx + 1 < len(pred) else 1
      return [err * err, 1]
  
imports: import h2o
  from .None import locate
label_desc: Use image node_id 1 for calling the CustomRmseFunc obj's underlying member method code with example usage: obj.map(pred, act, w, o, model) and returns: list