code: def reset_parameter(self, params):
          
          if any(metric_alias in params for metric_alias in ('metric', 'metrics', 'metric_types')):
              self.__need_reload_eval_info = True
          params_str = param_dict_to_str(params)
          if params_str:
              _safe_call(_LIB.LGBM_BoosterResetParameter(
                  self.handle,
                  c_str(params_str)))
          self.params.update(params)
          return self
docs: Reset parameters of Booster.
  
          Parameters
          ----------
          params : dict
              New parameters for Booster.
  
          Returns
          -------
          self : Booster
              Booster with new parameters.