Code Monkey home page Code Monkey logo

binary-genetic-algorithm's Introduction

Basic Binary Genetic Algorithm in Clojure

This exercise is based upon a very elegant explanation of Genetic Algorithms here.

I have re-implemented it in Clojure, while original solution is in Java.

Basic Process

  1. Create a random population
  2. Check if any one individual meets the fitness requirement
  3. If not, let the next generation evolve from the previous one
  4. Evolution simulates crossover i.e reproduction and random gene mutation
  5. The genes of the fittest individual often survives via reproduction and helps further generations to reach the goal.
  6. This process is repeated until the fitness requirement is met.

Installation/Usage

TODO

License

Copyright © 2016 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

binary-genetic-algorithm's People

Contributors

prasaadk avatar

Stargazers

 avatar

Watchers

 avatar James Cloos 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.