EvolvePy
EvolvePy is a Python module created to allow the easy creation and execution of evolutionary algorithms.
Documentation: EvolvePy's documentation.
Presentation video (Portuguese, click on the image):
Features
(Links to example using the feature)
- Allows to create complex individual generators using different strategies:
- Crossover (one-point, n-point, mean)
- Mutation (sum, multiplication, binary)
- Dynamic mutation
- Elitism
- Randomic predation
- Incremental evolution
- Define individuals with different chromosomes, with different types, ranges, sizes and parameters in the generator.
- Evaluate individuals using simple functions or multiple processes.
- Fitness cache to avoid evaluate the same individual several times.
- Fitness functions with different scores, which can be aggregated with different strategies.
- Evaluate the same individual several times to avoid noise.
- Log the evolution data to analyze later.
- Integrations with other modules:
- Wandb
- Tensorflow/Keras
- Gym
- Unity ML Agents (using Gym)
Installation
-
EvolvePy can be installed using pip:
pip install --upgrade pip pip install evolvepy
-
For install with all integrations dependecies (gym, tensorflow, wandb, gym_unity):
pip install --upgrade pip pip install evolvepy[all_integrations]
-
For installing from the repository:
git clone https://github.com/EltonCN/evolvepy cd evolvepy pip install --upgrade pip pip install .
Examples
The "examples" folder have a lot of examples of how to use EvolvePy.
Authors
Created by students from Unicamp's Institute of Computing (IC-Unicamp) as a project for the evolutionary systems subject at ICMC-USP, taught by prof. Eduardo do Valle Simoes.
Metadata
Release files for evolvepy 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| evolvepy-2.0.0.tar.gz | 44.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| evolvepy-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 97.1 kB
Release files / evolvepy-2.0.0.tar.gz
| Download URL | evolvepy-2.0.0.tar.gz |
|---|---|
| Size | 44.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c09a965e619d5c1157de852053f3b0da2dee432e8fd97b1a93ef0fdc452cc13c
|
|
BLAKE2b-256 checksum How to use checksums |
619ab11ee79d474af33d23253223c56667db9eee51a097e13741af4df9b5a8b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.5
|
Release files / evolvepy-2.0.0-py3-none-any.whl
| Download URL | evolvepy-2.0.0-py3-none-any.whl |
|---|---|
| Size | 53.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16076583dcf8d97619f10b037b32e6cc2ba9592c506a450d8bd4b139e368a3fe
|
|
BLAKE2b-256 checksum How to use checksums |
b78c2d6e9de936f3e620581fdfaab1077b3c33c40bd454cded542489acd5fb19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.5
|
Security for evolvepy 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.