Skip to content

motiontx/toy-neural-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Toy Neural Network

Little example of a neural network programmed from scratch using math.js

How to use it πŸš€

let brain = new NeuralNetwork(input_nodes, hidden_nodes, output_nodes, learning_rate);

Example

let brain = new NeuralNetwork(2, 16, 3, 0.1);
let inputs = [in_1, in_2];

//Make a prediction
let prediction = brain.query(inputs);

//Train
let expectedOutput = [out_1, out_2, out_3];
brain.train(inputs, expectedOutput);

Inspired by βœ’οΈ

Rashid, T. Make your own neural network. (http://makeyourownneuralnetwork.blogspot.com/)

Daniel Shiffman [The Coding Train] - Session 4 - Neural Networks - Intelligence and Learning. (https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Y7MdSCaIfsxc561QI0U0Tb)

License πŸ“„

This project is under the MIT License - see the file LICENSE.md for details.


With ❀️ by motiontx 😊

About

let 🧠 = new NeuralNetwork();

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors