Skip to content

GreatGameDota/Multilayer-Perceptron-Network-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Multilayer Perceptron Network Library

Originally created on Scratch

Base functions for layer math ported from python from NothingButNumpy blog series (link below).
Matrix function library made by GreatGameDota .
Library inspired by Tensorflow.js

Disclaimer: This library is very slow for large data sets

Examples

XOR

Input1 Input2 Output
0 0 0
0 1 1
1 0 1
1 1 0

XOR

MNIST Image Classification

Download csv files: Link
After downloading put the files in a folder called 'csv' in the MNIST folder then rename the files to '.txt'.

MNIST

Disclaimer: This took 5-6 hours to produce with dataAmount set to 1000 and it is still not very accurate

Classification

Classification

Inspired by A Neural Network Playground by Tensorflow

Multiple Outputs

2 outputs

Links/Resources

Medium Article (Repo link)
p5js