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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

toshihikoyanase
Copy link

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