code: def convert_ag_metric_to_lgbm(ag_metric_name, problem_type):
      return _ag_to_lgbm_metric_dict.get(problem_type, dict()).get(
          ag_metric_name, None
      )
  
imports: import copy
  import os
  import time
  from typing import List, Optional
  import numpy
  import pandas
  from pandas import DataFrame, Series
  from autogluon.common.utils.try_import import try_import_lightgbm
  from autogluon.core.constants import BINARY, MULTICLASS, QUANTILE, REGRESSION, SOFTCLASS
  from autogluon.core.utils.exceptions import TimeLimitExceeded
label_desc: Use image node_id 1 for calling a global function with example usage: convert_ag_metric_to_lgbm(ag_metric_name, problem_type) and returns: _ag_to_lgbm_metric_dict