Comparison
bayesian-optimization vs directsearch vs nevergrad vs optuna
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Bayesian Optimization package
Actively maintained. Last release 2 months ago, commits in 6 of the last 26 weeks. A safe choice.
pip install bayesian-optimizationA derivative-free solver for unconstrained minimization
Maintained. Last release 6 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install directsearchA Python toolbox for performing gradient-free optimization
Low maintenance activity. Last release 19 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install nevergradA hyperparameter optimization framework
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install optunaIn short
- optuna is the most used: 14.5M downloads a month, 11× more than bayesian-optimization.
- optuna also has the best Pythie’s Index (96).
- nevergrad is growing fastest: downloads +167% over the last month.
- Safe default for a new project: optuna.
Side by side
| Metric | bayesian-optimization | directsearch | nevergrad | optuna |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | 53 |