Skip to content

Commit

Permalink
Address the comment by knshnb
Browse files Browse the repository at this point in the history
  • Loading branch information
nabenabe0928 committed Nov 6, 2023
1 parent 42eb9eb commit 3b0e58e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions optuna/samplers/_tpe/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,8 @@ def objective(trial):
study.optimize(objective, n_trials=10)
.. note::
For `v2.9.0 <https://github.com/optuna/optuna/releases/tag/v2.9.0>`_ or later,
:class:`~optuna.samplers.MOTPESampler` is deprecated and
:class:`~optuna.samplers.TPESampler` should be used instead. The following code shows
how you apply :class:`~optuna.samplers.TPESampler` to a multi-objective task:
:class:`~optuna.samplers.TPESampler` can handle a multi-objective task as well and
the following shows an example:
.. testcode::
Expand Down

0 comments on commit 3b0e58e

Please sign in to comment.