class_docstr: Micro-average wrapper.
  
  The provided metric is updated with the value of each output.
  
  Parameters
  ----------
  metric
      A classification or a regression metric.
class_docstr_tok: ["Micro-average","wrapper",".","The","provided","metric","is","updated","with","the","value","of","each","output",".","Parameters","--","--","--","--","--","metric","A","classification","or","a","regression","metric","."]
code: def update(self, y_true, y_pred, w=1.0):
      for i in y_true:
          self.metric.update(y_true[i], y_pred[i], w)
  
file_path: river/river/metrics/multioutput/micro.py
imports: from __future__ import annotations
  from river import metrics, utils
  from river.metrics.multioutput.base import MultiOutputMetric
label_desc: Use image node_id 4 for calling the MicroAverage obj's underlying member method code with example usage: obj.update(y_true, y_pred, w) without return types