Comparison
botorch vs hyperopt vs optuna vs scikit-optimize
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Bayesian Optimization in PyTorch
Actively maintained. Last release 6 months ago, commits in 21 of the last 26 weeks. A safe choice.
pip install botorchDistributed Asynchronous Hyperparameter Optimization
Maintained. Last release 4 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install hyperoptA 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, 8.8× more than hyperopt.
- optuna also has the best Pythie’s Index (95).
- Safe default for a new project: optuna.
Side by side
| Metric | botorch | hyperopt | optuna | scikit-optimize |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 52 |