Skip to content

Commit dc37564

Browse files
Update ames-wo-val-hyperparam-optimization-local.py
Corrected setting for n_trials.
1 parent e28d89d commit dc37564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ames-wo-val-hyperparam-optimization-local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def objective(trial):
117117

118118
def main():
119119
study = optuna.create_study(direction='minimize')
120-
study.optimize(objective, n_trials=NUMBER_OF_TRAILS_PER_BATCH * NUMBER_OF_BATCHES_OF_TRIALS)
120+
study.optimize(objective, n_trials=20)
121121
print('Best trial:')
122122
best_trial = study.best_trial
123123
print(' Value: ', best_trial.value)

0 commit comments

Comments
 (0)