Code from "Towards deep learning with segregated dendrites" by Jordan Guergiuev, Timothy P. Lillicrap, Blake A. Richards.

See example_script.py for an example of loading MNIST, creating a network and training it.

This code requires the MNIST dataset files to be downloaded and placed in the same directory as the code.