Package Containing Modular CMA-ES optimizer
Project description
ModularCMAES
This is a restructured version of the Modular CMA-ES framework, first introduced in ... Its modular design allows for the creation of thousands of variants of the CMA-ES algorithm.
Installation
Installation can be done via pip, using:
$ pip install modcma
Usage
To optimize a single function, we provide a basic fmin interface, which can be used as follows:
from modcma import modularcmaes
modularcmaes.fmin(func=sum, dim=5, maxfun=100)
Running tests
$ python3 -m unittest discover
Running optimizer
$ python3 -m modcma [-h] [-f FID] [-d DIM] [-i ITERATIONS] [-l] [-c] [-L LABEL] [-s SEED] [-a ARGUMENTS [ARGUMENTS ...]]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
modcma-0.0.2.8.3.tar.gz
(29.8 kB
view hashes)
Built Distribution
modcma-0.0.2.8.3-py3-none-any.whl
(35.4 kB
view hashes)
Close
Hashes for modcma-0.0.2.8.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99c752a1ad84cb16ab280518a540b92e7081fe37fd12f4e484977833bb3550c5 |
|
MD5 | a065dfb4c347d57f54912619ea212b0b |
|
BLAKE2b-256 | 47b27279a4dc552ea98fbc8524882cd3a29b94291bbb5e388f4e16dd0c47ebae |