MNIST-1LNN  1.0
A simple 1-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...

#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...
 

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  row,
int  col 
)

Outputs a 28x28 MNIST image as charachters ("."s and "X"s)

Parameters
imgPointer to a MNIST image
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 displayLoadingProgressTesting ( int  imgCount,
int  y,
int  x 
)

Outputs reading progress while processing MNIST testing images.

Parameters
imgCountNumber of images already read from the MNIST file
yRow of terminal screen
xColumn 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.

Parameters
imgCountNumber of images already read from the MNIST file
yRow of terminal screen
xColumn 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.

Parameters
imgCountNumber of images already processed
errCountNumber of images that were NOT correctly identified
yRow of terminal screen
xColumn of terminal screen

Outputs image recognition progress and error count

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