From 4f64d9f1668b85ef4a57ecf7611adab53f52a5f5 Mon Sep 17 00:00:00 2001 From: lytex Date: Sat, 7 Sep 2024 10:26:50 +0200 Subject: [PATCH] no random sampler --- optuna_trial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optuna_trial.py b/optuna_trial.py index 926b17b..c17596b 100644 --- a/optuna_trial.py +++ b/optuna_trial.py @@ -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)