code: def __init__(self, metric, is_higher_better, needs_pred_proba):
      self.metric = metric
      self.is_higher_better = is_higher_better
      self.needs_pred_proba = needs_pred_proba
  
file_path: autogluon/tabular/src/autogluon/tabular/models/catboost/catboost_utils.py
imports: import logging
  from autogluon.core.constants import BINARY, MULTICLASS, QUANTILE, REGRESSION, SOFTCLASS
label_desc: Use image node_id 1 to create a new CustomMetric object  with example: obj = CustomMetric(metric, is_higher_better, needs_pred_proba)