Hand Written Digit Recognition Using scikit-learn
Hand-Written Digit Recognition in Python Using Scikit-learn Library Introduction: Hello Folks, In this Article we'll learn how to use scikit-learn to apply machine learning classification algorithm on the dataset "digits" which is available in sklearn.datasets from sklearn import datasets digits = datasets.load_digits () The Dataset contains about 1797 Samples and 10 Classes with the dimensionality of 64 i.e each Data point contains 8*8 image of a digit, Classes 10 Samples per class ~180 Samples total 1797 Dimensionality 64 Features integers 0-16 Each image data point in the dataset contains the matrix value of specific image. digits.images [ 0 ] So the output of the above cell will prompt us a matrix value for the value stored at index 0 array([[ 0., 0., 5., 13., 9., 1., 0., 0.], [ 0., 0., 13., 15., 10., 15., 5., 0.], [ 0., 3., 15., 2., 0., 11., 8., 0.], [ 0....