A Neural Network From Scratch
This was written for my blog post Machine Learning for Beginners: An Introduction to Neural Networks.
Install NumPy (if you need to):
$ pip install numpy
Then, run it with no arguments:
$ python network.py
You can also run / play with this code on my repl.it.