code: def load_metrics():
      """Yields all the metrics."""
  
      for name, obj in inspect.getmembers(
          importlib.import_module("river.metrics"), inspect.isclass
      ):
          if name == "Metrics":
              continue
  
          if inspect.isabstract(obj):
              continue
  
          elif name == "RegressionMultiOutput":
              yield obj(metric=metrics.MSE())
              continue
  
          try:
              sig = inspect.signature(obj)
              yield obj(
                  **{
                      param.name: param.default
                      if param.default != param.empty
                      else 5
                      for param in sig.parameters.values()
                  }
              )
          except ValueError:
              yield obj()
  
imports: from __future__ import annotations
  import collections
  import copy
  import functools
  import importlib
  import inspect
  import pickle
  import platform
  import random
  import numpy
  import pytest
  from sklearn import metrics
  from river import metrics, utils
label_desc: Use image node_id 1 for calling a global function with example usage: load_metrics() without return types