code: def _add_lgbpred(self, objective: str, func: Callable):
      obj_args = set(inspect.getfullargspec(func).args)
      assert obj_args == {
          "data",
          "model",
      }, f"functions in lgb_model_pred_functions should only have 2: parameters, model and data."
      self.objective_pred_funcs[objective] = func
  
file_path: miceforest/miceforest/MeanMatchScheme.py
imports: from .compat import pd_DataFrame
  import inspect
  from copy import deepcopy
  from typing import Callable, Union, Dict, Set
  from numpy import dtype
label_desc: Use image node_id 3 for calling the MeanMatchScheme obj's underlying member method code with example usage: obj._add_lgbpred(objective, func) without return types