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.1.tar.gz
(34.7 kB
view hashes)
Built Distribution
modcma-0.0.2.8.1-py3-none-any.whl
(40.1 kB
view hashes)
Close
Hashes for modcma-0.0.2.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b230a559bec7525671dcc5eab550b008811cacb15379a40b6dd1627a2112b5e |
|
MD5 | 8cfa703d4e7d43ee2e1300d92b7a51d5 |
|
BLAKE2b-256 | 46606575b230bbbf951a905bb822733761e4a947a6ee8f8135638a9ba4489959 |