Comparison
bayesian-optimization vs botorch vs optuna vs scikit-optimize
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Bayesian Optimization package
Actively maintained. Last release 8 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install bayesian-optimizationBayesian Optimization in PyTorch
Actively maintained. Last release 6 months ago, commits in 21 of the last 26 weeks. A safe choice.
pip install botorchA hyperparameter optimization framework
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install optunaSequential model-based optimization toolbox.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install scikit-optimizeIn short
- scikit-optimize is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- optuna is the most used: 14.8M downloads a month, 12× more than bayesian-optimization.
- optuna also has the best Pythie’s Index (95).
- bayesian-optimization is growing fastest: downloads +23% over the last month.
- Safe default for a new project: optuna.
Side by side
| Metric | bayesian-optimization | botorch | optuna | scikit-optimize |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 80 |