Skip to content

Commit

Permalink
no random sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
lytex committed Sep 7, 2024
1 parent dd0805b commit 4f64d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optuna_trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def objective(trial, global_level_list=None, local_level_list=None, use_wavelet=

storage = "sqlite:///{}.db".format(study_name)

study = optuna.create_study(direction="maximize", storage=storage, sampler=optuna.samplers.RandomSampler())
study = optuna.create_study(direction="maximize", storage=storage)

study.optimize(objective, n_trials=None, gc_after_trial=True, show_progress_bar=True)

Expand Down

0 comments on commit 4f64d9f

Please sign in to comment.