-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathNotes.txt
More file actions
18 lines (11 loc) · 1012 Bytes
/
Copy pathNotes.txt
File metadata and controls
18 lines (11 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
https://www.kaggle.com/c/digit-recognizer/data?train.csv
System.Drawing.Bitmap to WPF ImageSource
http://stackoverflow.com/a/6775114
// LIGHT vs. DARK
Each image is 28 pixels in height and 28 pixels in width, for a total of 784 pixels in total. Each pixel has a single pixel-value associated with it, indicating the lightness or darkness of that pixel, with higher numbers meaning darker. This pixel-value is an integer between 0 and 255, inclusive.
// X Y COORDINATES
Each pixel column in the training set has a name like pixelx, where x is an integer between 0 and 783, inclusive. To locate this pixel on the image, suppose that we have decomposed x as x = i * 28 + j, where i and j are integers between 0 and 27, inclusive. Then pixelx is located on row i and column j of a 28 x 28 matrix, (indexing by zero).
For example, pixel31 indicates the pixel that is in the fourth column from the left, and the second row from the top, as in the ascii-diagram below.
10,000
11.81 with rotateflip
11.51 without