MNIST-1LNN
1.0
A simple 1-layer neural network to recognize handwritten single digit numbers from the MNIST image files.
|
Utitlies for displaying processing details in the terminal. More...
#include <stdio.h>
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 y, int x) |
Outputs a 28x28 MNIST image as charachters ("."s and "X"s) More... | |
void | displayLoadingProgressTraining (int imgCount, int y, int x) |
Outputs reading progress while processing MNIST training images. More... | |
void | displayLoadingProgressTesting (int imgCount, int y, int x) |
Outputs reading progress while processing MNIST testing images. More... | |
void | displayProgress (int imgCount, int errCount, int y, int x) |
Outputs image recognition progress and error count. More... | |
Utitlies for displaying processing details in the terminal.
Definition in file mnist-stats.h.
void displayImage | ( | MNIST_Image * | img, |
int | row, | ||
int | col | ||
) |
Outputs a 28x28 MNIST image as charachters ("."s and "X"s)
img | Pointer to a MNIST image |
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 displayLoadingProgressTesting | ( | int | imgCount, |
int | y, | ||
int | x | ||
) |
Outputs reading progress while processing MNIST testing images.
imgCount | Number of images already read from the MNIST file |
y | Row of terminal screen |
x | Column of terminal screen |
Outputs reading progress while processing MNIST testing images
Definition at line 88 of file mnist-stats.c.
void displayLoadingProgressTraining | ( | int | imgCount, |
int | y, | ||
int | x | ||
) |
Outputs reading progress while processing MNIST training images.
imgCount | Number of images already read from the MNIST file |
y | Row of terminal screen |
x | Column of terminal screen |
Outputs reading progress while processing MNIST training images
Definition at line 71 of file mnist-stats.c.
void displayProgress | ( | int | imgCount, |
int | errCount, | ||
int | y, | ||
int | x | ||
) |
Outputs image recognition progress and error count.
imgCount | Number of images already processed |
errCount | Number of images that were NOT correctly identified |
y | Row of terminal screen |
x | Column of terminal screen |
Outputs image recognition progress and error count
Definition at line 105 of file mnist-stats.c.