Skip to content

jagprog5/CNeuralNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Neural Network

Needs ncurses:

apt install libncurses5-dev

Use make run to compile and run.

Classifies elements in the MNIST handwritten digit database

Properties of this network:

  • 28x28 inputs, 32 nodes in hidden layer, 10 output nodes
  • Sigmoid activation for hidden layer
  • Softmax activation for output layer
  • Stochastic gradient descent for training
  • Typically error rate of 7-8% for this database

Screen Views:

  • No-output is fast
    • Doesn't update the screen, but...
    • Trains in ~2 seconds. BLAZINGLY fast
  • Set-view shows the current image in the training set, and the network's output
    • "Probs" shows the network's output for the image
    • "Label" shows the image's correct corresponding digit, as given in the dataset
    • "GOOD" & "BAD" indicates if the highest probability output matches the label
  • Field-view shows the receptive field for the output neurons

After training, the test set is loaded, and the error rate is calculated.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published