MNIST-3LNN  1.0
A simple 3-layer neural network to recognize handwritten single digit numbers from the MNIST image files.
Functions
mnist-stats.h File Reference

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)
 

Detailed Description

Utitlies for displaying processing details in the terminal.

Author
Matt Lind
Date
July 2015

Definition in file mnist-stats.h.

Function Documentation

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
imgPointer to a MNIST image
lblTarget classification
clsActual classification
rowRow of terminal screen
colColumn 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.

Parameters
rowRow of terminal screen
colColumn 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.

Parameters
imgCountNumber of images already read from the MNIST file
errCountNumber of errors (images incorrectly classified)
yRow of terminal screen
xColumn of terminal screen

Outputs reading progress while processing MNIST training images

Definition at line 74 of file mnist-stats.c.