blackvitriol / Genetic_Programming

Using Genetic Algorithms and Neuroevolutionary approaches...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Genetic Programming

Welcome ! This repository contains work related to programming using Genetic and Evolutionary Strategies. Check it out if you are new to this concept.


Need info? Check the Wiki (GP) | or Create an issue | Ask me on Twitter

OSS Awesome


Table of Contents

Getting Started

Introduction

code:

blah bla blah

Working

  • Generate an initial, stochastic population.
  • Iteratively perform selection, genetic operation, and evaluation:
    • Evaluate each program (hypothesis) in the current population against the given dataset and determine how well it performed, the value recorded as a fitness score.
    • Randomly select programs and compare their fitness scores.
    • Apply one of three genetic operators to a copy of the leading program: reproduction; mutation; crossover… then move the program into the subsequent generation.
    • Evaluate all programs (hypotheses) in each new generation.
  • Repeat until the user-defined termination criteria are met.

Hello World Terminal:

This is a tree based genetic algorithm that accepts a string from a user. This string is parsed and a fitness goal is defined for evaluation. The initial population is defined as all ASCII characters including numbers, alphabets and symbols in a sequential manner. The program then performs genetic operations on the first generation, with the fitness score as its function. After several evolutions of the generations, where the strings with the highest fitness are allowed to exist, the program converges on a generation that resembles the goal.

Requirements

License

This project is made available under the MIT License.

Credits

We're open to suggestions, feel free to message me or open an issue. Pull requests are also welcome!

This project is powered by:


About

Using Genetic Algorithms and Neuroevolutionary approaches...


Languages

Language:Lua 65.7%Language:Python 34.3%