Using scikit-learn, compare performance of SVM and logistic regression on handwritten digit recognition