MNIST-1LNN  1.0
A simple 1-layer neural network to recognize handwritten single digit numbers from the MNIST image files.
Functions
main.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include "screen.h"
#include "mnist-utils.h"
#include "mnist-stats.h"
#include "1lnn.h"

Go to the source code of this file.

Functions

void trainLayer (Layer *l)
 
void testLayer (Layer *l)
 
int main (int argc, const char *argv[])
 

Function Documentation

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

Main function to run MNIST-1LNN

Definition at line 161 of file main.c.

void testLayer ( Layer l)

Tests a layer by looping through and testing its cells Exactly the same as TrainLayer() but WITHOUT LEARNING.

Parameters
lA pointer to the layer that is to be training

Definition at line 104 of file main.c.

void trainLayer ( Layer l)

Trains a layer by looping through and training its cells

Parameters
lA pointer to the layer that is to be training

Definition at line 46 of file main.c.