Skip to main content

Genetic Algorithms for humans

Project description

EvoFlow - Evolutionary algorithms for humans

TensorFlow Numpy

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evoflow-0.3.1589576239.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evoflow-0.3.1589576239-py3-none-any.whl (76.1 kB view details)

Uploaded Python 3

File details

Details for the file evoflow-0.3.1589576239.tar.gz.

File metadata

  • Download URL: evoflow-0.3.1589576239.tar.gz
  • Upload date:
  • Size: 32.0 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

Hashes for evoflow-0.3.1589576239.tar.gz
Algorithm Hash digest
SHA256 3f25c4c7de62f701fa4ccfc34e22c18760caed1004240a92dfe7d3de1fe874e2
MD5 a7f4dbb12324ccc441a0333b14017592
BLAKE2b-256 88f58e68ca60c09574fc370ff9d6a5a5b7b4c2768b8e8251f5bdc182a51636b8

See more details on using hashes here.

File details

Details for the file evoflow-0.3.1589576239-py3-none-any.whl.

File metadata

  • Download URL: evoflow-0.3.1589576239-py3-none-any.whl
  • Upload date:
  • Size: 76.1 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

Hashes for evoflow-0.3.1589576239-py3-none-any.whl
Algorithm Hash digest
SHA256 7615f764c427386996fe16c5b6a94b1ae4de6af4e58f0d6828bd63f019530080
MD5 307a4272e96e01839de5964d72378bfe
BLAKE2b-256 b1703a794da7fb3a61960ec15051e062b138d86512cdbf843815f929010a22b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page