Recognizing Handwritten Digits with scikit-learn
Recognizing Handwritten Digits :
1) Load the library:
1) NumPy: Numpy is used for data Distribution.
2) Pandas: Pandas is Basically used for the Pre-processing of the data.
3) Matplotlib: Matplotlib uses for visualization of the data.
4) Sci-kit Learn: Scikitlearn is used to build the model.
2) Load the Dataset:
Load the dataset with the help of Pandas.
Pandas contain the read_csv() method which is used to read the data of the dataset.
3)Plot the Image and Label:
First of all the Zip the images and label using for loop.
Using the for loop we focus on the digit images and target images for the evaluation.
4) Import the SVM:
SVM stands for the Support Vector Machine. Which helps to identify the digit.
Using SVM we have to identify the digit with the help of SVC.
SVC is a method that access by the SVM.
we have to divide it into the train and test.
we have to use the Model Section the Method contains the train and test and split.
After splitting the data we have to check the data which is fitted to the model or not!!?
after applying the method we have to predict the model and find the accuracy of the model.
Comments
Post a Comment