I was trying my hands on the Digit Recognizer Competition in Kaggle and I was paralyzed. Actually, I was not able to understand how to proceed with this. Then, I took a few deep breaths and told myself “one step at a time”.
So, the first step is to understand the data in the training set.
The dataset contains gray-scale images of hand-drawn digits, from 0 through 9. The training dataset (train.csv) has 785 columns. The first column, called “label”, is the digit that was drawn by the user. The rest of the columns contain the pixel values of the associated image. The image is of 28*28 i.e. 784 pixels. This pixel value is an integer between 0 and 255.
Now, let’s plot an image using the pixel value, and let’s see if it matches with the “Label” value.
Problem:
Solution:
Bingo! We finally got what we were looking for!