Skip to content

ixonstater/digit_recog_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

network.py is a simple neural network class that trains via single sample mini batch stochastic gradient descent.

  • the network class requires either a local or a global instance of numpy, the popular python data processing library
  • the class is initialized with three parameters to the constructor:
    1. a python list containing the number of nodes in the first, second and third layers eg. [72, 20, 5]
    2. a floating point learning rate
    3. a floating point momentum rate (set to 0 to negate the effects of the momentum term)
  • the class's member functions should be fairly self explanatory, however it is worth mentioning that the backprop() function does not loop until an error limit is reached, this is instead done by the calling program as the error term is the return value of the backprop() function.

digit_recog.py is a simple class that contains methods for the initialization of training data and simple demonstrations of the neural network's potential.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages