code: def custom_logloss_mm():
      return h2o.upload_custom_metric(
          CustomLoglossFunc,
          func_name="logloss",
          func_file="mm_logloss.py",
      )
  
file_path: h2o-3/h2o-py/tests/testdir_algos/isotonic/pyunit_isotonic_custom_metric.py
imports: import sys
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.gbm import H2OGradientBoostingEstimator
  from h2o.estimators.isotonicregression import H2OIsotonicRegressionEstimator
label_desc: Use image node_id 1 for calling a global function with example usage: custom_logloss_mm() and returns: h2o