docstr: If True, a `holdout_frac` portion of the data is held-out from model bagging.
  This held-out data is only used to score models and determine weighted ensemble weights.
  Enable this if there is a large gap between score_val and score_test in stack models.
  Note: If `tuning_data` was specified, `tuning_data` is used as the holdout data.
  Disabled if not bagging.
docstr_tok: ["If","True",",","a","`","holdout_frac","`","portion","of","the","data","is","held-out","from","model","bagging",".","This","held-out","data","is","only","used","to","score","models","and","determine","weighted","ensemble","weights",".","Enable","this","if","there","is","a","large","gap","between","score_val","and","score_test","in","stack","models",".","Note",":","If","`","tuning_data","`","was","specified",",","`","tuning_data","`","is","used","as","the","holdout","data",".","Disabled","if","not","bagging","."]
code: def use_bag_holdout(
      self, use_bag_holdout: bool = True
  ) -> ConfigBuilder:
      """
      If True, a `holdout_frac` portion of the data is held-out from model bagging.
      This held-out data is only used to score models and determine weighted ensemble weights.
      Enable this if there is a large gap between score_val and score_test in stack models.
      Note: If `tuning_data` was specified, `tuning_data` is used as the holdout data.
      Disabled if not bagging.
      """
      self.config["use_bag_holdout"] = use_bag_holdout
      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 10 for calling the ConfigBuilder obj's underlying member method code with example usage: obj.use_bag_holdout(use_bag_holdout) and returns: self