Skip to content

tdawn0-0/neural-network-with-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neural-network-with-js

Description

This is the project's repository for my We article "Build Your Own Neural Network with JavaScript" on Medium. In this article my goal is to show how to build a neural network with JavaScript from the scratch and embed it into a simple web app.

This web app can be used to train and test the neural network with the MNIST data set. Furthermore it allows the user to handwrite a digit and get a prediction from the network.

screenshot

Getting Started

Installing

Due to their size, the MNIST data sets are not included in this repository. You will need the CSV versions. Please download them from pjreddie and put them into the ./mnist folder.

Starting

If you run the project locally it needs to be on a local webserver. Otherwise the file accesses won't work. Please leave a message if you run over any issues.

Bonus

The file nn-with-stop.js is an advanced version of nn.js and includes a stop function to abort training/testing. If you want to use it, please embed it into index.html instead of nn.js.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.7%
  • HTML 11.6%
  • CSS 4.6%
  • Python 2.1%