code: def get_hyperparameter_tune_kwargs_preset(preset: str):
      # TODO: re-enable bayesopt after it's been implemented
      if preset == "bayesopt":
          logger.warning(
              f"Bayesopt hyperparameter tuning is currently disabled. Will use random hyperparameter tuning instead."
          )
          preset = "random"
      if preset not in _scheduler_presets:
          raise ValueError(
              f'Invalid hyperparameter_tune_kwargs preset value "{preset}". Valid presets: {list(_scheduler_presets.keys())}'
          )
      return _scheduler_presets[preset].copy()
  
file_path: autogluon/core/src/autogluon/core/scheduler/scheduler_factory.py
imports: import copy
  import inspect
  import logging
  from ..utils.utils import setup_compute
  from .seq_scheduler import LocalSequentialScheduler
label_desc: Use image node_id 4 for calling a global function with example usage: get_hyperparameter_tune_kwargs_preset(preset) and returns: _scheduler_presets