Genetic Algorithms for humans
Project description
EvoFlow - Evolutionary algorithms for humans
Install
pip install evoflow
Deep-learning versus Evoluationary algorithms
Generally you want to use Deep-learning when the problem is continious/smooth and evoluationary algorithms when the problem is discrete. For example voice generation is smooth and solving (non-linear) equations is discrete.
Terminology
- Gene: atomic unit. Equivalent to a neuron in deep-learning.
- Chromosome: ordered list of gene(s).
- Genotype: collection of chromosome(s). Used when the problem requires to maximizes multiples fitness function at once.
- Population of x: collection of chromosomes or genotypes. That is what makes a Tensor.
- Generation: One round of evolution. Equivalent to an epoch in deep-learning.
- Fitness function: Function that evaluate how good/fit a given chromosome is. this is equivalent to the loss function in deep learning except it doesn't need to be differentiable and aim to be maximized.
EvoFlow Terminology
-
evoluationary op: Operation performed on a population of chromosome to make them evolve. Common ops includes various type of Chromosomal crossovers and Chromosomal mutations. Equivalent to deep-learning layers (e.g a convolution layer).
-
evoluationary model: Directed graph of evolutionary ops used to evolve the population. Equivalent to a model architecture in deep-learning settings.
Disclaimer
This is not an official Google product.
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
Built Distribution
File details
Details for the file evoflow-0.3.1589589257.tar.gz
.
File metadata
- Download URL: evoflow-0.3.1589589257.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4898fda94bb530d7e5082982d8a336b5b1cb6d3d40ac12d7862ccfe750041fb1
|
|
MD5 |
5acca307fa77d0c25a7f409dc6251f20
|
|
BLAKE2b-256 |
d9218e53438de63a9e1e69b583af8312f7172ae79c91f5c1490b49895077e54c
|
File details
Details for the file evoflow-0.3.1589589257-py3-none-any.whl
.
File metadata
- Download URL: evoflow-0.3.1589589257-py3-none-any.whl
- Upload date:
- Size: 76.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
39c8067d4906b83f518da74e963a6507792690447d7e76303749487925106221
|
|
MD5 |
5af7398de3b6d06d3bb8c513807a1ca0
|
|
BLAKE2b-256 |
a0e16dca54e83fc3357a537423836435c5a09a35ec66469974a3a552cebd9954
|