Kaggle Digit Recognizer

進入 Kaggle的第一個試題

Kaggle digit recognizer

是一個用CSV儲存的 MNIST 問題

因次用CNN來解決這次的問題

Visually, if we omit the “pixel" prefix, the pixels make up the image like this:

000 001 002 003 ... 026 027
028 029 030 031 ... 054 055
056 057 058 059 ... 082 083
 |   |   |   |  ...  |   |
728 729 730 731 ... 754 755
756 757 758 759 ... 782 783 

The test data set, (test.csv), is the same as the training set, except that it does not contain the “label" column.

Your submission file should be in the following format: For each of the 28000 images in the test set, output a single line containing the ImageId and the digit you predict. For example, if you predict that the first image is of a 3, the second image is of a 7, and the third image is of a 8, then your submission file would look like:

ImageId,Label
1,3
2,7
3,8 
(27997 more lines)

The evaluation metric for this contest is the categorization accuracy, or the proportion of test images that are correctly classified. For example, a categorization accuracy of 0.97 indicates that you have correctly classified all but 3% of the images.

 

figure_1

圖像化類似這個樣子;一個28*28 黑白階的圖片

程式代碼和MNIST 練習時代碼類似

加上了CSV的讀取儲存。

Kaggle : 0.98614

卷積兩次加上一層隱藏層配上SGD,差不多就是這結果了

準備往下個題目邁進

 

My Github



發表留言