MNIST-3LNN
1.0
A simple 3-layer neural network to recognize handwritten single digit numbers from the MNIST image files.
|
Utitlies for displaying processing details in the terminal. More...
Go to the source code of this file.
Functions | |
void | displayImageFrame (int y, int x) |
Outputs a 28x28 text frame at a defined screen position. More... | |
void | displayImage (MNIST_Image *img, int lbl, int cls, int row, int col) |
Outputs a 28x28 MNIST image as charachters ("."s and "X"s) More... | |
void | displayTrainingProgress (int imgCount, int errCount, int y, int x) |
Outputs reading progress while processing MNIST training images. More... | |
void | displayTestingProgress (int imgCount, int errCount, int y, int x) |
Utitlies for displaying processing details in the terminal.
Definition in file mnist-stats.h.
void displayImage | ( | MNIST_Image * | img, |
int | lbl, | ||
int | cls, | ||
int | row, | ||
int | col | ||
) |
Outputs a 28x28 MNIST image as charachters ("."s and "X"s)
img | Pointer to a MNIST image |
lbl | Target classification |
cls | Actual classification |
row | Row of terminal screen |
col | Column of terminal screen |
Outputs a 28x28 MNIST image as charachters ("."s and "X"s)
Definition at line 44 of file mnist-stats.c.
void displayImageFrame | ( | int | row, |
int | col | ||
) |
Outputs a 28x28 text frame at a defined screen position.
row | Row of terminal screen |
col | Column of terminal screen |
Outputs a 28x28 text frame at a defined screen position
Definition at line 21 of file mnist-stats.c.
void displayTestingProgress | ( | int | imgCount, |
int | errCount, | ||
int | y, | ||
int | x | ||
) |
Definition at line 91 of file mnist-stats.c.
void displayTrainingProgress | ( | int | imgCount, |
int | errCount, | ||
int | y, | ||
int | x | ||
) |
Outputs reading progress while processing MNIST training images.
imgCount | Number of images already read from the MNIST file |
errCount | Number of errors (images incorrectly classified) |
y | Row of terminal screen |
x | Column of terminal screen |
Outputs reading progress while processing MNIST training images
Definition at line 74 of file mnist-stats.c.