Python implementation of a tempotron classifier for the MNIST database.