Optuna Backend#
Hyperactive provides wrappers for Optuna’s optimization algorithms, allowing you to use Optuna’s powerful samplers with Hyperactive’s interface.
Note
Optuna must be installed separately:
pip install optuna
# or
pip install hyperactive[all_extras]
Sampler Examples#
Sampler |
Example |
|---|---|
TPE (Tree-Parzen Estimator) |
|
CMA-ES |
|
Gaussian Process |
|
NSGA-II |
|
NSGA-III |
|
QMC (Quasi-Monte Carlo) |
|
Random |
|
Grid |
When to Use Optuna Backend#
The Optuna backend is useful when you need:
Multi-objective optimization (NSGA-II, NSGA-III)
Advanced sampling strategies like CMA-ES or QMC
Optuna’s pruning capabilities for early stopping
Compatibility with existing Optuna workflows