diff --git a/optuna/multi_objective/samplers/_motpe.py b/optuna/multi_objective/samplers/_motpe.py index e116b453d8..9f358b798a 100644 --- a/optuna/multi_objective/samplers/_motpe.py +++ b/optuna/multi_objective/samplers/_motpe.py @@ -29,10 +29,10 @@ class MOTPEMultiObjectiveSampler(BaseMultiObjectiveSampler): This sampler is a multi-objective version of :class:`~optuna.samplers.TPESampler`. .. note:: - For `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 `_ 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:: diff --git a/optuna/samplers/_tpe/multi_objective_sampler.py b/optuna/samplers/_tpe/multi_objective_sampler.py index 83565dacde..6f9ff9f78e 100644 --- a/optuna/samplers/_tpe/multi_objective_sampler.py +++ b/optuna/samplers/_tpe/multi_objective_sampler.py @@ -26,9 +26,9 @@ class MOTPESampler(TPESampler): .. note:: For `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::