neural-network-from-scratch icon indicating copy to clipboard operation
neural-network-from-scratch copied to clipboard

A Neural Network implemented from scratch (using only numpy) in Python.

A Neural Network From Scratch

This was written for my blog post Machine Learning for Beginners: An Introduction to Neural Networks.

Usage

Install numpy, the only dependency, if you need to:

$ pip install numpy

Then, run it with no arguments:

$ python network.py

You can also run this code in your browser.

More

You may also be interested in a Convolutional Neural Network (CNN) implemented from scratch in Python, which was written for my introduction to CNNs.