Skip to content

Commit

Permalink
Fix the deprecated versions in the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nabenabe0928 committed Nov 6, 2023
1 parent ef8cc4b commit 42eb9eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions optuna/multi_objective/samplers/_motpe.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ class MOTPEMultiObjectiveSampler(BaseMultiObjectiveSampler):
This sampler is a multi-objective version of :class:`~optuna.samplers.TPESampler`.
.. note::
For `v2.9.0 <https://github.com/optuna/optuna/releases/tag/v2.9.0>`_ or later,
This sampler 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:
For `v2.4.0 <https://github.com/optuna/optuna/releases/tag/v2.4.0>`_ or later,
:class:`~optuna.multi_objective.samplers.MOTPEMultiObjectiveSampler` 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:
.. testcode::
Expand Down
6 changes: 3 additions & 3 deletions optuna/samplers/_tpe/multi_objective_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class MOTPESampler(TPESampler):
.. note::
For `v2.9.0 <https://github.com/optuna/optuna/releases/tag/v2.9.0>`_ or later,
This sampler 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.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:
.. testcode::
Expand Down

0 comments on commit 42eb9eb

Please sign in to comment.