Deep Neural Network for MNIST Handwriting Recognition  1.0
Deep Neural Network for MNIST Handwriting Recognition
Functions
/Users/mlind/Coding/Github/mnist-dnn/main.c File Reference
#include <stdlib.h>
#include <time.h>
#include <stdarg.h>
#include <math.h>
#include <locale.h>
#include "dnn.h"
#include "util/mnist-utils.h"
#include "util/mnist-stats.h"
#include "util/screen.h"

Functions

void trainNetwork (Network *nn)
 Trains a network on the MNIST training set. More...
 
void testNetwork (Network *nn)
 Tests an already trained network on the MNIST testing set. More...
 
int main (int argc, const char *argv[])
 

Function Documentation

int main ( int  argc,
const char *  argv[] 
)

Run a demo that creates a network using a sample network design and ouputs result to console

void testNetwork ( Network nn)

Tests an already trained network on the MNIST testing set.

Follows same steps as training process but without backpropagation and updating weights

Parameters
nnA pointer to the network
void trainNetwork ( Network nn)

Trains a network on the MNIST training set.

Trains the network by feeding input, calculating and backpropaging the error, updating weights

Parameters
nnA pointer to the network