liveBook · Manning

Optuna

Optuna is an open-source Python framework for automated hyperparameter optimization through repeated trials that explore parameter configurations.

How 3 Manning books explain it

Inside Deep Learning: Math, Algorithms, Models

A hyperparameter-optimization library that searches parameter spaces by running trials and using a model to guide new suggestions.

How it is used
Tunes neural-network hyperparameters and architectures when optimization objectives lack gradients.
How deep it goes
Explains objective functions, bounded suggestions, studies, trials, and best-parameter retrieval, but defers Optuna’s technical internals.
Examples
Uses a two-variable toy function, trial logs, best-parameter output, contour visualization, and a FashionMNIST neural-network exercise.
What you can do after
Apply Optuna by writing an objective, running trials, retrieving parameters, and evaluating a retrained neural network.

Read how Inside Deep Learning: Math, Algorithms, Models explains Optuna →

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

Optuna is an open-source hyperparameter optimization framework that adaptively searches parameter configurations through repeated trials.

How it is used
Deploys adaptive Bayesian search to refine XGBoost hyperparameters for classification and regression workflows.
How deep it goes
Explains studies, objectives, trial suggestions, evaluation choices, storage, and visual diagnostics, but defers algorithmic internals.
Examples
Uses XGBoost classification and Tokyo Airbnb regression, including optimization histories, parameter-importance plots, and reported best configurations.
What you can do after
Apply it via Python to construct studies, run configurable trials, select best parameters, and inspect optimization results.

Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains Optuna →

Designing Deep Learning Systems: A guide for software engineers

Optuna is an open-source Python library for automated hyperparameter optimization with trial pruning, parallel execution, and visualization.

How it is used
Automates hyperparameter searches for model training on local machines or managed clusters.
How deep it goes
Explains objective functions, studies, suggestions, pruning, and parallel setup, but remains an overview rather than search-algorithm internals.
Examples
Uses scikit-learn SVR and RandomForest regressors, sampled parameters, dataset splitting, and mean squared error.
What you can do after
Apply via Optuna by defining an objective, creating a study, setting a trial quota, and optionally sharing relational storage.

Read how Designing Deep Learning Systems: A guide for software engineers explains Optuna →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.