GithubHelp home page GithubHelp logo

makova / nodeo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jj/nodeo

0.0 2.0 0.0 662 KB

Simple evolutionary algorithm in JavaScript in CommonJS format, for node.js and anything else.

License: GNU General Public License v3.0

JavaScript 98.89% Shell 0.23% HTML 0.88%

nodeo's Introduction

NodEO

Join the chat at https://gitter.im/JJ/nodeo

NPM

Evolutionary Algorithm, simplified, for node

NodEO includes the functions necessary to create a simple evolutionary algorithm in JavaScript in CommonJS format, for node.js and anything else that uses that format. Can be (and indeed has been) converted to the browser using Browserify. Check out the presentation I did for FOSDEM in case you want to know more about evolutionary algorithms and how they have been implemented in JavaScript.

Build Status

Build Status

How to start

Hints on installing and running it.

Installation

npm install nodeo

You can also clone it from this repo:

git clone [email protected]:JJ/nodeo.git

Testing

If you have downloaded it from npm, it's already tested. If you have cloned it,

npm install 
npm test

Running an evolutionary algorithm

There's a simple evolutionary algorithm in the app directory,

cd node_modules/nodeo
node app/ea.js

or

node app/classic-ea.js

for the version with a bit more complicated data structures and no cached fitness function (lighter on the memory front).

How to go further

You can try and add your own stuff. Start here

Developing

You will have to install a bit of more stuff, including Grunt, which, for the time being, is used to check code and generate documentation. That is

npm install -g grunt-cli

And then

grunt docco

to generate documentation (if you've installed docco previously) or

grunt jshint

to check the code or

grunt browsify

to generate a browser-ready evolutionary algorithm based on the classic version.

Problems? Questions?

Please use GitHub issues and I'll try to help you. Can't guarantee I'll be in Gitter, but if that's your thing, please go ahead and try it, I'll arrive eventually.

nodeo's People

Contributors

jj avatar fergunet avatar makova avatar gitter-badger 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.