docstr: Overwrite the current prediction functions for certain
  objectives.
  
  Parameters
  ----------
  lgb_model_pred_functions: dict
      A dict of {objective: callable} pairs. The objective should be
      a lightgbm objective. The provided function will be used to
      obtain predictions from lightgbm models with the paired objective.
  
      For example, passing: {"binary": func, "regression": func2} will call
      func(model, data) to obtain the predictions from the model, if the
      model objective was binary.
docstr_tok: ["Overwrite","the","current","prediction","functions","for","certain","objectives",".","Parameters","--","--","--","--","--","lgb_model_pred_functions",":","dict","A","dict","of","{","objective",":","callable","}","pairs",".","The","objective","should","be","a","lightgbm","objective",".","The","provided","function","will","be","used","to","obtain","predictions","from","lightgbm","models","with","the","paired","objective",".","For","example",",","passing",":","{","``","binary","''",":","func",",","``","regression","''",":","func2","}","will","call","func","(","model",",","data",")","to","obtain","the","predictions","from","the","model",",","if","the","model","objective","was","binary","."]
code: def set_lgb_model_pred_functions(
      self, lgb_model_pred_functions: _t_obj_func
  ):
      """
      Overwrite the current prediction functions for certain
      objectives.
  
      Parameters
      ----------
      lgb_model_pred_functions: dict
          A dict of {objective: callable} pairs. The objective should be
          a lightgbm objective. The provided function will be used to
          obtain predictions from lightgbm models with the paired objective.
  
          For example, passing: {"binary": func, "regression": func2} will call
          func(model, data) to obtain the predictions from the model, if the
          model objective was binary.
      """
      for objective, function in lgb_model_pred_functions.items():
          self._add_lgbpred(objective, function)
  
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 8 for calling the MeanMatchScheme obj's underlying member method code with example usage: obj.set_lgb_model_pred_functions(lgb_model_pred_functions) without return types