Giter Club home page Giter Club logo

genetic-algorithm-rosetta's Introduction

Genetic-Algorithm-Rosetta

This project will be a sample genetic algorithm implemented in several languages. Initial module currently in progress.

A sample encoding mechanism for a genetic algorithm. This simplistic encoding can be represented with four bits per codon, interpreting 0-9 as digits and 10-13 as operations. The additional possible values are ignored.

To translate this information to a value, you permissively search for a mathematical expression from left to right in the collection of codons. In the correct form, this results in either no value, a number, or a number with a series of operator / number modifications to it. Division by zero results in no value, otherwise the resulting expression can be reduced to a single numeric value.

This kind of data can be mutated at the bit level, causing random variation. Because the meaning can change dramatically due to small changes in the value, in a way that is not itself completely random, a given value can be refined against while larger changes are still possible when needed.

Method Inspiration: http://www.ai-junkie.com/ga/intro/gat3.html

genetic-algorithm-rosetta's People

Contributors

eadsjr avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.