nnaisense / evotorch

Advanced evolutionary computation library built directly on top of PyTorch, created at NNAISENSE.
https://evotorch.ai
Apache License 2.0
1.01k stars 63 forks source link

feat: Add torch-based CMA-ES implementation #41

Closed NaturalGradient closed 1 year ago

NaturalGradient commented 1 year ago

This pull request:

codecov-commenter commented 1 year ago

Codecov Report

Merging #41 (f8d776f) into master (d3e3f0a) will increase coverage by 24.02%. The diff coverage is 49.83%.

@@             Coverage Diff             @@
##           master      #41       +/-   ##
===========================================
+ Coverage   52.97%   77.00%   +24.02%     
===========================================
  Files          43       47        +4     
  Lines        6233     6532      +299     
===========================================
+ Hits         3302     5030     +1728     
+ Misses       2931     1502     -1429     
Impacted Files Coverage Δ
src/evotorch/algorithms/restarter/__init__.py 0.00% <0.00%> (ø)
...rc/evotorch/algorithms/restarter/modify_restart.py 0.00% <0.00%> (ø)
src/evotorch/algorithms/restarter/restart.py 0.00% <0.00%> (ø)
src/evotorch/algorithms/pycmaes.py 21.83% <21.83%> (ø)
src/evotorch/algorithms/searchalgorithm.py 86.38% <66.66%> (+47.55%) :arrow_up:
src/evotorch/algorithms/cmaes.py 83.92% <82.66%> (+62.58%) :arrow_up:
src/evotorch/algorithms/__init__.py 100.00% <100.00%> (ø)
src/evotorch/decorators.py 100.00% <0.00%> (ø)
src/evotorch/tools/__init__.py 100.00% <0.00%> (ø)
src/evotorch/neuroevolution/net/__init__.py 100.00% <0.00%> (ø)
... and 26 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.