Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
toshihikoyanase committed Jun 28, 2024
1 parent df51a84 commit 7a32b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/001_first.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ def objective(trial: optuna.trial.Trial) -> float:
###################################################################################################
# In the above examples, search space is estimated at the first trial and updated dynamically through optimization.
# If you pass the search space to the sampler, you can avoid the overhead of estimating the search space.
sampler = MySampler({"x": optuna.distributioins.FloatDictribution(-10, 10)})
sampler = MySampler({"x": optuna.distributions.FloatDictribution(-10, 10)})
study = optuna.create_study(sampler=sampler)
study.optimize(objective, n_trials=100)

0 comments on commit 7a32b7a

Please sign in to comment.