All Projects → shiffman → Neural Network P5

shiffman / Neural Network P5

Deprecated! See:

Programming Languages

javascript
184084 projects - #8 most used programming language
p5js
31 projects

Projects that are alternatives of or similar to Neural Network P5

Neatron
Yet another NEAT implementation
Stars: ✭ 14 (-93.58%)
Mutual labels:  genetic-algorithm, neuroevolution
Aimandshoot
A neuroevolution game experiment.
Stars: ✭ 201 (-7.8%)
Mutual labels:  genetic-algorithm, neuroevolution
neuro-evolution
A project on improving Neural Networks performance by using Genetic Algorithms.
Stars: ✭ 25 (-88.53%)
Mutual labels:  genetic-algorithm, neuroevolution
Evolutionsimulator
Evolution Simulator with Box2D
Stars: ✭ 143 (-34.4%)
Mutual labels:  genetic-algorithm, neuroevolution
Super Mario Neat
This program evolves an AI using the NEAT algorithm to play Super Mario Bros.
Stars: ✭ 64 (-70.64%)
Mutual labels:  genetic-algorithm, neuroevolution
NeuroEvolution-Flappy-Bird
A comparison between humans, neuroevolution and multilayer perceptrons playing Flapy Bird implemented in Python
Stars: ✭ 17 (-92.2%)
Mutual labels:  genetic-algorithm, neuroevolution
DeepHyperNEAT
A public python implementation of the DeepHyperNEAT system for evolving neural networks. Developed by Felix Sosa and Kenneth Stanley. See paper here: https://eplex.cs.ucf.edu/papers/sosa_ugrad_report18.pdf
Stars: ✭ 42 (-80.73%)
Mutual labels:  genetic-algorithm, neuroevolution
Cephalopods
Evolving squids through neuroevolution
Stars: ✭ 122 (-44.04%)
Mutual labels:  genetic-algorithm, neuroevolution
Evolutionary Algorithm
Evolutionary Algorithm using Python, 莫烦Python 中文AI教学
Stars: ✭ 881 (+304.13%)
Mutual labels:  genetic-algorithm, neuroevolution
NEATEST
NEATEST: Evolving Neural Networks Through Augmenting Topologies with Evolution Strategy Training
Stars: ✭ 13 (-94.04%)
Mutual labels:  genetic-algorithm, neuroevolution
Radiate
Radiate is a parallel genetic programming engine capable of evolving solutions to many problems as well as training learning algorithms.
Stars: ✭ 65 (-70.18%)
Mutual labels:  genetic-algorithm, neuroevolution
Machine Learning Flappy Bird
Machine Learning for Flappy Bird using Neural Network and Genetic Algorithm
Stars: ✭ 1,683 (+672.02%)
Mutual labels:  genetic-algorithm, neuroevolution
Evolutionary Computation Course
Jupyter/IPython notebooks about evolutionary computation.
Stars: ✭ 173 (-20.64%)
Mutual labels:  genetic-algorithm
Evolutionary.jl
Evolutionary & genetic algorithms for Julia
Stars: ✭ 142 (-34.86%)
Mutual labels:  genetic-algorithm
Ai plays snake
AI trained using Genetic Algorithm and Deep Learning to play the game of snake
Stars: ✭ 137 (-37.16%)
Mutual labels:  genetic-algorithm
Genetic Cnn
CNN architecture exploration using Genetic Algorithm
Stars: ✭ 183 (-16.06%)
Mutual labels:  genetic-algorithm
Galgo 2.0
Genetic Algorithm in C++ with template metaprogramming and abstraction for constrained optimization
Stars: ✭ 155 (-28.9%)
Mutual labels:  genetic-algorithm
Genetic Algorithm
遗传算法 - Matlab
Stars: ✭ 136 (-37.61%)
Mutual labels:  genetic-algorithm
Eiten
Statistical and Algorithmic Investing Strategies for Everyone
Stars: ✭ 2,197 (+907.8%)
Mutual labels:  genetic-algorithm
Bot Evolution
An interesting display of evolution through neural networks and a genetic algorithm
Stars: ✭ 135 (-38.07%)
Mutual labels:  genetic-algorithm

Deprecated!

Simple Artificial Neural Network JavaScript library

This repository is a library for creating simple vanilla 3-layer ANNs in JavaScript. I'm using it for the second edition of the Nature of Code book, as well as examples for my ITP course: Intelligence and Learning.

At the moment this library is depends on p5.js. However, it's my intention to remove this dependency for the library itself (while still making examples using p5): #10. I also intend to port this library to Java for Processing: #11.

Finally, this library has a terribly inefficient matrix implementation and should likely include options for using math.js and/or gpu.js.

The code is based on the book Make Your Own Neural Network by Tariq Rashid (book source code).

Example Demos

The neuro-evolution examples are inspired by the chrome experiment Flappy Learning by xviniette.

Use

// Creating a Neural Network with # of inputs, hidden neurons, and outputs
var inputs = 4;
var hidden = 16;
var outputs = 2;
var nn = new NeuralNetwork(inputs, hidden, outputs);

// Training the Neural Network with inputs and known outputs
var inputs = [-0.3, 0.5, 0.3, 0.2];
var targets = [0.99, 0.01];
nn.train(inputs, targets);

// Querying the Neural Network with inputs
var inputs = [-0.3, 0.5, 0.3, 0.2];
var prediction = nn.query(inputs);

By default, the library will use a sigmoid activation function. However, you can select other activation functions as follows (tanh only at the moment)):

var nn = new NeuralNetwork(inputs, hidden, outputs, 'sigmoid');
var nn = new NeuralNetwork(inputs, hidden, outputs, 'tanh');
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].