Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Update hyperparameter optimization code for Optuna v3.0.0#3747

Open
toshihikoyanase wants to merge 1 commit intomozilla:masterfrom
toshihikoyanase:migrate-optuna-to-v3
Open

Update hyperparameter optimization code for Optuna v3.0.0#3747
toshihikoyanase wants to merge 1 commit intomozilla:masterfrom
toshihikoyanase:migrate-optuna-to-v3

Conversation

@toshihikoyanase
Copy link
Copy Markdown

Motivation

Optuna v3.0.0 was released in 29 August 2022, and Trial.suggest_uniform was deprecated. Please use Trial.suggest_float as described in the migration guide.

Changes

This PR simply replace Trial.suggest_uniform with Trial.suggest_float. This does not change the behavior since Trial.suggest_uniform is now just an alias of Trial.suggest_float as can be seen in this source code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant