You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optuna has deprecated features such as Trial.trial_id and Study.study_id. I think it's a good opportunity to revise them at the major release. Here's a proposal of policy to remove them. If you have any comments or suggestions, please let me know.
Policy to remove deprecated features
Deprecated features will be removed in the major release after the next in general. For example, the step argument of Trial.should_prune was deprecated in v0.12.0 and will be removed v2.0.0.
Features that may affect many users can be kept exceptionally. For instance, optuna.structs.TrialPruned was deprecated in v0.19.0 but will be kept in v2.0.0.
Deprecated features of classes/functions which are marked as experimental will be removed when they promote to non-experimental.
Background
Optuna has deprecated features such as
Trial.trial_id
andStudy.study_id
. I think it's a good opportunity to revise them at the major release. Here's a proposal of policy to remove them. If you have any comments or suggestions, please let me know.Policy to remove deprecated features
step
argument ofTrial.should_prune
was deprecated inv0.12.0
and will be removedv2.0.0
.optuna.structs.TrialPruned
was deprecated inv0.19.0
but will be kept inv2.0.0
.The deprecated features removed in v2.0.0
optuna.study.StudySummary.study_id
optuna.integration.ChainerMNTrial.trial_id
optuna.integration.LightGBMTuner.__init__(best_params)
optuna.integration.LightGBMTuner.__init__(tuning_history)
optuna.pruners.Hyperband.__init__(n_brackets)
optuna.pruners.Hyperband.__init__(min_early_stopping_rate_low)
optuna.structs.FrozenTrial.trial_id
optuna.structs.StudySummary.study_id
optuna.study.BaseStudy.storage
optuna.study.Study.study_id
optuna.trial.FrozenTrial.trial_id
optuna.trial.Trial.sould_prune(step)
optuna.trial.Trial.trial_id
optuna.trial.Trial.study_id
trial_id
attributes were not recorded in the code.optuna.integration.LightGBMTuner.best_booster
will not be removed in v2.0.0 because some users still use it.optuna.structs.TrialPruned
will not be removed in v2.0.0 because it had been used in the official examples for a long time.The text was updated successfully, but these errors were encountered: