Source code for the Kaggle task of recognizing hand written digits.
https://www.kaggle.com/c/digit-recognizer
Classifiers can take a lot of time to train, especially if the training dataset is large. Therefore, you might want to use a smaller training dataset, especially in the initial design and implementation phases.
You can use the sample.py file to randomly undersample without replacement).