Skip to content

An implemented neural network from scratch & without using related frameworks like TensorFlow and PyTorch

License

Notifications You must be signed in to change notification settings

KooroshRH/MNIST-handwritten-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural Network

This project has been implemented from scratch & without using related frameworks like TensorFlow and PyTorch. Also, it is based on MNIST handwritten digit dataset and uses Momentum technique to increase speed and accuracy of model.
This project only comprise numpy and matplotlib as third-party libraries.

How it works?

We can set hyperparameters in this part of the code:

layersLength = [784, 16, 16, 10]
batchSize = 50
numOfEpochs = 5
learningRate = 1

Also, momentum parameters can be configured in this section:

isMomentumEnabled = False
momentumTerm = []
momentumRatio = 0.7

In the end, we can start the training process by just running the NN.py code.

Resources

About

An implemented neural network from scratch & without using related frameworks like TensorFlow and PyTorch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages