Skip to content

Basic DL script that predicts integers from a dataset of handwritten number images

Notifications You must be signed in to change notification settings

kuzeydemirkaya/DeepLearningDemo

Repository files navigation

Basic DeepLearning model in Python that predicts numbers form handwritten number dataset


It uses:

  • Rectified Linear Unit (ReLU) as an activation function
  • Softmax funtion to transform the output to a probability distribution. It is also differentiable, which means that it can be used in conjunction with optimization algorithms such as stochastic gradient descent (SGD) or Adam (Adaptive Moment Estimation)
  • Adam optimizer. unlike SGD learning-rate is adaptive instead of fixed which results in a more rapid convergence rate
  • Sparse categorical crossentropy as loss function which is best used when target labels are integers
  • Accuracy metric computes acccuracy using log cosh Error Regression (commonly used built in func)

Output:

  • 3 epochs (iterations) resulted in accuracy ≈ 0.9762

P.S. Trained model is also inluded in source files as 'demo.model'

About

Basic DL script that predicts integers from a dataset of handwritten number images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published