Package Containing Modular CMA-ES optimizer
Project description
ModularCMAES
![Codacy Badge](https://pypi-camo.freetls.fastly.net/8f64d5eab506941018d069b639179c3d58c10863/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f3733373230653232386138393438303538356264646530356433383036363631)
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.4.tar.gz
(29.8 kB
view hashes)
Built Distribution
modcma-0.0.2.8.4-py3-none-any.whl
(35.4 kB
view hashes)
Close
Hashes for modcma-0.0.2.8.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b720f252ec47ce8665256b52741559606040e8cca796504a2a4c2ed3b4a07299 |
|
MD5 | 958d6befd4564a4196159e30d8c9819c |
|
BLAKE2b-256 | b128f3779b0099fa5d99c9b5172e3173c4591d2d87d90d59621ed3382612c8e1 |