Comparison
cma vs cmaes vs nevergrad vs scikit-optimize
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
CMA-ES, Covariance Matrix Adaptation Evolution Strategy for non-linear numerical optimization in Python
Maintained. Last release 2 weeks ago, commits in 7 of the last 26 weeks. Weaker on contributor spread and security practices.
pip install cmaLightweight Covariance Matrix Adaptation Evolution Strategy (CMA-ES) implementation for Python 3.
Maintained. Last release 3 months ago, commits in 8 of the last 26 weeks. Weaker on release cadence.
pip install cmaesA 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 nevergradSequential 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.
- cma is the most used: 2.5M downloads a month, 2.5× more than nevergrad.
- Maintenance is comparable: cmaes 69, cma 67, nevergrad 34 on Pythie’s Index.
- nevergrad is growing fastest: downloads +133% over the last month.
- Safe default for a new project: cma.
Side by side
| Metric | cma | cmaes | nevergrad | scikit-optimize |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 67 | 69 |