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 Distributions
Built Distribution
Hashes for evoflow-0.3.1589589239-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e5f40b14342c7e531dbebfa5ae571ced6591818150e97b8b4acd5241b684b21 |
|
MD5 | 6eb8353fca73fb1ea22ee77d083b79c5 |
|
BLAKE2b-256 | 4f2a4cd255d8a6a277b859435f3d3147dda19c0e8ae2e7dc4165204baaae3868 |