Utitlies for displaying details of processing the MNIST data set in the terminal screen.
More...
Go to the source code of this file.
Utitlies for displaying details of processing the MNIST data set in the terminal screen.
- Author
- Matt Lind
- Date
- July 2015
void displayImage |
( |
MNIST_Image * |
img, |
|
|
int |
lbl, |
|
|
int |
cls, |
|
|
int |
row, |
|
|
int |
col |
|
) |
| |
Outputs a 28x28 MNIST image as charachters ("."s and "X"s)
- Parameters
-
img | Pointer to a MNIST image |
lbl | Target classification |
cls | Actual classification |
row | Row on screen (x-coordinate) where to display the image |
col | Column on screen (y-coordinate) where to display the image |
void displayImageFrame |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
Outputs a 28x28 text frame at a defined screen position.
- Parameters
-
row | Row of terminal screen |
col | Column of terminal screen |
void displayTestingProgress |
( |
int |
imgCount, |
|
|
int |
errCount |
|
) |
| |
Outputs progress to the console while processing MNIST testing images.
- Parameters
-
imgCount | Number of images already read from the MNIST file |
errCount | Number of errors (images incorrectly classified) |
void displayTrainingProgress |
( |
int |
imgCount, |
|
|
int |
errCount |
|
) |
| |
Outputs progress to the console while processing MNIST training images.
- Parameters
-
imgCount | Number of images already read from the MNIST file |
errCount | Number of errors (images incorrectly classified) |