Optuna, Ray Tune, Hyperopt and scikit-optimize
Hyperparameter optimisation libraries using smart search strategies.
Intermediate
import optuna
study = optuna.create_study(direction="maximize")
study.optimize(lambda t: score(lr=t.suggest_float("lr", 1e-5, 1e-1, log=True)), n_trials=50)
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.