Skip to content

A simple (and hopefully) clear implementation of neural networks, to understand how they work.

Notifications You must be signed in to change notification settings

bonaert/NeuralNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeuralNet

Note: this is an old repository I created when I was first learning about neural network and wanted to be sure I understood them well. Given the current popularity of Neural Networks, if want to learn then you're in luck because there are tons of amazing educational resources (such as Michael Nielsen's Neural networks and Deep Learning or the Deep Learning book by Goodfellow, Bengio and Courville) and great frameworks to play with, such as Tensorflow, Keras or PyTorch.

Want to understand how neural nets work, and see a simple implementation? I did, which is why I created this simple and (hopefully) clear implementation of a neural network. It greatly improved my understanding of how they work.

Blog posts with explanations

This repository is the companion to my blog posts about learning how neural networks work and learn. There I write the theory behind them, and the maths in the clearest way I could. I don't oversimplify things or make things too vague.

At the end, you'll know the precise maths required to make the neural net work.

The structure of the simplest neural network

The Neural Net Code

Examples and applications

Want a couple of example of how to use the code? Here some basic things I've built:

  • Let's use neural networks to predict the output of the XOR function. It's absurd, but a good illustration.
  • Then, I built a simple simple OCR system, which regognizes hand-written digits of the MNIST database

Meta

I also created a couple of script to better understand how to test and see the performance of different configurations:

About

A simple (and hopefully) clear implementation of neural networks, to understand how they work.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published