predicting numbers in image with logistic regression predicting numbers in image with logistic regression Visualizing Image before processing Confusion matrix heatmap Result of Sample correctly predicted Accuracy 0.9466666666666667