Digit recognizer trained with the mnist data set