docstr: If True, will change the default model that Predictor uses for prediction when model is not specified to the refit_full version of the model that exhibited the highest validation score.
  Only valid if `refit_full` is set.
docstr_tok: ["If","True",",","will","change","the","default","model","that","Predictor","uses","for","prediction","when","model","is","not","specified","to","the","refit_full","version","of","the","model","that","exhibited","the","highest","validation","score",".","Only","valid","if","`","refit_full","`","is","set","."]
code: def set_best_to_refit_full(
      self, set_best_to_refit_full=True
  ) -> ConfigBuilder:
      """
      If True, will change the default model that Predictor uses for prediction when model is not specified to the refit_full version of the model that exhibited the highest validation score.
      Only valid if `refit_full` is set.
      """
      self.config["set_best_to_refit_full"] = set_best_to_refit_full
      return self
  
imports: from __future__ import annotations
  import copy
  from typing import Union
  from sklearn.base import BaseEstimator
  from autogluon.core.scheduler import scheduler_factory
  from autogluon.features import AutoMLPipelineFeatureGenerator
  from autogluon.tabular.configs.hyperparameter_configs import hyperparameter_config_dict
  from autogluon.tabular.configs.presets_configs import tabular_presets_dict
  from autogluon.tabular.trainer.model_presets.presets import MODEL_TYPES
label_desc: Use image node_id 18 for calling the ConfigBuilder obj's underlying member method code with example usage: obj.set_best_to_refit_full(set_best_to_refit_full) and returns: self