Git Product home page Git Product logo

totter's Introduction

Totter

Discovering QWOP gaits with evolutionary computing.

Installation

This project uses Conda for dependency management.

Linux

conda env create -f environment.nix.yaml

Linux systems require the scrot command to be available for the user running Totter.
It can be installed with apt-get:

sudo apt-get install scrot

Linux systems require the tesseract-ocr package to be installed.

sudo apt-get install tesseract-ocr

Windows

conda env create -f environment.win.yml

Install tesseract using one of the UB Mannheim installers. Make sure the tesseract executable is on the system PATH.

OS X

conda env create -f environment.mac.yml

OS X requires the tesseract package to be installed: brew install tesseract

Running

source activate totter

python -m totter --algorithm KeystrokeGA evolve --trials 5 --evaluations 1000 --eval_time_limit 45 --pop_size 25 --cx_prob 0.9 --mt_prob 0.15

Contributors

totter's People

Contributors

zachdj avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ankush14238

totter's Issues

Abstract subclasses show up in CLI

When getting the list of valid algorithms, the CLI doesn't check if the algorithms are subclasses of some other GA. This causes some algorithms to appear which aren't actually runnable (e.g. CellularGA).

Should be a simple fix.

Progress logging

It would be really helpful to have some progress messages logged to stdout while experiments are running. Ideas:

  • time elapsed
  • generation counter
  • trial counter

System for running statistically significant experiments

Since GAs are stochastic, we need to run each experiment several times and collect aggregated stats on the whole run. Current results are reported for only a single run.

Maybe add some module or CLI action to run a proper experiment?

Better replacement strategy

Currently, the replacement strategy replaces one of the 5 worst members of the population.
I'm worried that this is too aggressive. Takeover time seems low and based on the observed rate of fitness improvement, it seems that the lack of diversity maintenance is causing trouble.

I'd like to switch to an inverse roulette-wheel selection (where fitter individuals have a lower probability of being selected). Any thoughts @Mohamad9922?

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.