All Projects β†’ wagenaartje β†’ Neataptic

wagenaartje / Neataptic

Licence: other
πŸš€ Blazing fast neuro-evolution & backpropagation for the browser and Node.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Neataptic

Invaderz
Space invaders, but the invaders evolve with genetic algorithm
Stars: ✭ 686 (-33.2%)
Mutual labels:  genetic-algorithm
Construct
JavaScript Digital Organisms simulator
Stars: ✭ 17 (-98.34%)
Mutual labels:  genetic-algorithm
Evolutionary Algorithm
Evolutionary Algorithm using Python, θŽ«ηƒ¦Python δΈ­ζ–‡AIζ•™ε­¦
Stars: ✭ 881 (-14.22%)
Mutual labels:  genetic-algorithm
Eaopt
πŸ€ Evolutionary optimization library for Go (genetic algorithm, partical swarm optimization, differential evolution)
Stars: ✭ 718 (-30.09%)
Mutual labels:  genetic-algorithm
Selecto
Selecto.js is a component that allows you to select elements in the drag area using the mouse or touch.
Stars: ✭ 822 (-19.96%)
Mutual labels:  selection
Devol
Genetic neural architecture search with Keras
Stars: ✭ 925 (-9.93%)
Mutual labels:  genetic-algorithm
Gaft
A Genetic Algorithm Framework in Python
Stars: ✭ 651 (-36.61%)
Mutual labels:  genetic-algorithm
Tsp Ga
A Genetic Algorithm in Python for the Travelling Salesman Problem
Stars: ✭ 33 (-96.79%)
Mutual labels:  genetic-algorithm
Alfa
Automated Line Fitting Algorithm
Stars: ✭ 6 (-99.42%)
Mutual labels:  genetic-algorithm
Fasttext Tuning
πŸ“ˆ Find your fasttext hyperparameters quickly and easily.
Stars: ✭ 13 (-98.73%)
Mutual labels:  genetic-algorithm
Notie
πŸ”” a clean and simple notification, input, and selection suite for javascript, with no dependencies
Stars: ✭ 6,170 (+500.78%)
Mutual labels:  selection
Geneticsharp
GeneticSharp is a fast, extensible, multi-platform and multithreading C# Genetic Algorithm library that simplifies the development of applications using Genetic Algorithms (GAs).
Stars: ✭ 813 (-20.84%)
Mutual labels:  genetic-algorithm
Nqueens Genetic
Solving the nqueens problem using genetic algorithm
Stars: ✭ 10 (-99.03%)
Mutual labels:  genetic-algorithm
Tensorflow cookbook
Code for Tensorflow Machine Learning Cookbook
Stars: ✭ 5,984 (+482.67%)
Mutual labels:  genetic-algorithm
Ai Programmer
Using artificial intelligence and genetic algorithms to automatically write programs. Tutorial: http://www.primaryobjects.com/cms/article149
Stars: ✭ 948 (-7.69%)
Mutual labels:  genetic-algorithm
Selectpage
A simple style and powerful selector, including ajax remote data, autocomplete, pagination, tags, i18n and keyboard navigation features
Stars: ✭ 679 (-33.89%)
Mutual labels:  selection
Gpdotnetv4
C# implementation of the various algorithms based on Genetic Algorithm, Genetic Programming and Artificial Neural Networks.
Stars: ✭ 19 (-98.15%)
Mutual labels:  genetic-algorithm
Evolutionary Neural Networks On Unity For Bots
Neural networks + Genetic algorithm on unity
Stars: ✭ 38 (-96.3%)
Mutual labels:  genetic-algorithm
Csb Ai Starter
Starter Bot for Codingame's Coders Strike Back AI Challenge (Simulation Engine + Random Search)
Stars: ✭ 32 (-96.88%)
Mutual labels:  genetic-algorithm
Droidsentinel
Analizador de trΓ‘fico para dispositivos Android potencialmente comprometidos como parte de una botnet orientado a detectar ataques DDoS.
Stars: ✭ 11 (-98.93%)
Mutual labels:  genetic-algorithm

Neataptic (unmaintained)

Slack


Neataptic offers flexible neural networks; neurons and synapses can be removed with a single line of code. No fixed architecture is required for neural networks to function at all. This flexibility allows networks to be shaped for your dataset through neuro-evolution, which is done using multiple threads.

// this network learns the XOR gate (through neuro-evolution)
var network = new Network(2,1);

var trainingSet = [
  { input: [0,0], output: [0] },
  { input: [0,1], output: [1] },
  { input: [1,0], output: [1] },
  { input: [1,1], output: [0] }
];

await network.evolve(trainingSet, {
  equal: true,
  error: 0.03
 });

Neataptic also backpropagates more than 5x faster than competitors. Run the tests yourself. This is an example of regular training in Neataptic:

// this network learns the XOR gate (through backpropagation)
var network = new architect.Perceptron(2, 4, 1);

// training set same as in above example
network.train(trainingSet, {
  error: 0.01
});

network.activate([1,1]); // 0.9824...

Use any of the 6 built-in networks with customisable sizes to create a network:

var myNetwork = new architect.LSTM(1, 10, 5, 1);

Or built your own network with pre-built layers:

var input = new Layer.Dense(2);
var hidden1 = new Layer.LSTM(5);
var hidden2 = new Layer.GRU(3);
var output = new Layer.Dense(1);

input.connect(hidden1);
hidden1.connect(hidden2);
hidden2.connect(output);

var myNetwork = architect.Construct([input, hidden1, hidden2, output]);

You can even built your network neuron-by-neuron using nodes and groups!

Visit the wiki to get started
or play around with neural networks

Examples

Neural networks can be used for nearly anything; driving a car, playing a game and even to predict words! At this moment, the website only displays a small amount of examples. If you have an interesting project that you want to share with other users of Neataptic, feel free to create a pull request!

Neuroevolution examples (supervised)
LSTM timeseries (supervised)
Color classification (supervised)
Agar.io-AI (unsupervised)
Target seeking AI (unsupervised)
Snake game AI (unsupervised)
Playground
β€Œ

Usage

Head over to the wiki for detailed usage. If you want to visualise your graphs, head over to the graph folder.

Install

Neataptic files are hosted by rawgit, just copy this link into the <head> tag:

<script src="https://wagenaartje.github.io/neataptic/cdn/1.4.7/neataptic.js"></script>

Installing with node is also possible:

npm install neataptic

Make sure you have Node.js v7.6 or higher installed!

Further notices

Parts of Synaptic where used to develop Neataptic.

The neuro-evolution algorithm used is the Instinct algorithm.


You made it all the way down! If you appreciate this repo and want to support the development of it, please consider donating πŸ‘ Donate

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].