This code is associated with the paper from Guerguiev et al., "Towards deep learning with segregated dendrites". eLife, 2017. http://dx.doi.org/10.7554/eLife.22901
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.