Recognizing Handwritten Digits
The Digits data set of scikit-learn library provides numerous data-sets that are useful for testing many problems of data analysis and prediction of the results. Some Scientist claims that it predicts the digit accurately 95% of the times. Perform data Analysis to accept or reject this Hypothesis.
The Digit Dataset consists of 1,797 images that are 8x8 pixels in size
STEP 1 :IMPORTING THE DATA
The images of the handwritten digits are contained in a digits images array. Each element of this array is an image that is represented by an 8x8 matrix of numerical values that correspond to a grayscale from white, with a value of 0, to black, with the value 15.
STEP 2 : Target Attribute
It is a 1-dimensional array with 1797 slots
STEP 3: Printing all
STEP 4 : Prediction
Conclusion
We can see that the predicted and target values are same and the svc estimator has learned correctly. We have got 100% accurate predictions for the above cases. Hence, we accept the given hypothesis.
I am thankful to mentors at https://internship.suvenconsultants.com for providing awesome problem statements and giving many of us a Coding Internship Experience. Thank you www.suvenconsultants.com