code: def custom_mae_mm():
      return upload_custom_metric(
          CustomMaeFunc, func_name="mae-custom", func_file="mm_mae.py"
      )
  
file_path: h2o-3/h2o-py/tests/testdir_algos/xgboost/pyunit_xgboost_eval_metric_stopping.py
imports: import sys
  from h2o import upload_custom_metric
  from tests import pyunit_utils
  from tests.pyunit_utils import dataset_prostate
  from h2o.estimators.xgboost import H2OXGBoostEstimator
  from tests.pyunit_utils import CustomMaeFunc
label_desc: Use image node_id 1 for calling a global function with example usage: custom_mae_mm() and returns: upload_custom_metric