GithubHelp home page GithubHelp logo

kareypyer / busy-beaver-genome Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.22 MB

A genetic algorithm to grow and test Turing Machines in search for Busy Beaver candidates

License: MIT License

Common Lisp 100.00%

busy-beaver-genome's Introduction

Vinnie Monaco

December, 2008

Part of the Busy Beaver Genome Project for Dr. Benjamin's CS385 Artificial Intelligence

Quickstart

All of the code should be Common Lisp compatible. It was built and tested with SBCL.

  1. Change the project-root global parameter to the root of the project.

  2. Make sure the results directory exists in the project root.

  3. Edit the run time variables in main.lisp to change: -the size of the population -number of generations -mutation rate -machine states to search -shift limit to run any machine to -weights for the fitness function -number of searches to perform

    They will all already be defined. Change them to alter the search.

  4. Compile and load main.lisp. This will compile and load every other file needed automatically, as long at the project-root is correct.

  5. Run the function (run) to run the algorithm with standard output or (run-with-fitness-output) to run the algorithm with the fitness scores of each generation output to the results directory.

  6. The function will return 'DONE when complete. Check the results directory for the evolutionary and fitness score results of each search performed. Those files will be overwritten if another search is performed without moving them, so rename or move anything worth keeping.

busy-beaver-genome's People

Contributors

vmonaco 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.