Skip to content

Commit

Permalink
launch xgboost yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
teyaberg committed Jul 28, 2024
1 parent 48550d1 commit a305a55
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/MEDS_tabular_automl/configs/launch_xgboost.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defaults:
- default
- tabularization: default
- override hydra/sweeper: optuna
- override hydra/sweeper/sampler: tpe
- override hydra/sweeper/sampler: cmaes
- override hydra/launcher: joblib
- _self_

Expand Down Expand Up @@ -41,11 +41,12 @@ hydra:
# Optuna Sweeper
sweeper:
sampler:
# _target_: optuna.samplers.RandomSampler
seed: 1
study_name: null #study_${now:%Y-%m-%d_%H-%M-%S}
storage: null
direction: minimize
n_trials: 250
direction: maximize
n_trials: 1000
n_jobs: 25

# Define search space for Optuna
Expand All @@ -55,6 +56,7 @@ hydra:
+model_params.model.alpha: tag(log, interval(0.001, 1))
+model_params.model.subsample: interval(0.5, 1)
+model_params.model.min_child_weight: interval(1e-2, 100)
+model_params.model.colsample_bytree: interval(0.5, 1)
model_params.num_boost_round: range(100, 1000)
model_params.early_stopping_rounds: range(1, 10)
+model_params.model.max_depth: range(2, 16)
Expand Down

0 comments on commit a305a55

Please sign in to comment.