Comparison
cma vs cmaes vs directsearch vs nevergrad
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 8 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 7 of the last 26 weeks. Weaker on release cadence.
pip install cmaesA derivative-free solver for unconstrained minimization
Maintained. Last release 6 months ago, commits in 3 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 nevergradIn short
- cma is the most used: 2.6M downloads a month, 2.3× more than nevergrad.
- Maintenance is comparable: cmaes 67, cma 66, directsearch 46, nevergrad 34 on Pythie’s Index.
- nevergrad is growing fastest: downloads +188% over the last month.
- Safe default for a new project: cma.
Side by side
| Metric | cma | cmaes | directsearch | nevergrad |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 66 | 67 |