docstr: Overwrite the current mean matching functions for certain
  objectives.
  
  Parameters
  ----------
  mean_match_functions: dict
      A dict of {objective: callable} pairs. The objective should be
      a lightgbm objective. The provided function will be used to
      perform mean matching for all models with the given objective.
  
      RULES FOR FUNCTIONS:
          1) The only arguments allowed are those listed in
             miceforest.mean_match_schemes.AVAILABLE_MEAN_MATCH_ARGS
          2) Not all of those arguments are required, the process
             will only pass arguments that the function requires
docstr_tok: ["Overwrite","the","current","mean","matching","functions","for","certain","objectives",".","Parameters","--","--","--","--","--","mean_match_functions",":","dict","A","dict","of","{","objective",":","callable","}","pairs",".","The","objective","should","be","a","lightgbm","objective",".","The","provided","function","will","be","used","to","perform","mean","matching","for","all","models","with","the","given","objective",".","RULES","FOR","FUNCTIONS",":","1",")","The","only","arguments","allowed","are","those","listed","in","miceforest.mean_match_schemes.AVAILABLE_MEAN_MATCH_ARGS","2",")","Not","all","of","those","arguments","are","required",",","the","process","will","only","pass","arguments","that","the","function","requires"]
code: def set_mean_match_function(self, mean_match_functions: _t_obj_func):
      """
      Overwrite the current mean matching functions for certain
      objectives.
  
      Parameters
      ----------
      mean_match_functions: dict
          A dict of {objective: callable} pairs. The objective should be
          a lightgbm objective. The provided function will be used to
          perform mean matching for all models with the given objective.
  
          RULES FOR FUNCTIONS:
              1) The only arguments allowed are those listed in
                 miceforest.mean_match_schemes.AVAILABLE_MEAN_MATCH_ARGS
              2) Not all of those arguments are required, the process
                 will only pass arguments that the function requires
  
      """
      for objective, function in mean_match_functions.items():
          self._add_mmf(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 7 for calling the MeanMatchScheme obj's underlying member method code with example usage: obj.set_mean_match_function(mean_match_functions) without return types