Skip to content

yuhung1206/Recognition-for-Handwriting-Numerals-with-DNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recognition-for-Handwriting-Numerals

Implement DNN & Back-Propagation algorithm with only "Numpy" package.

Dataset

The numeral images used in this study is from 👉 https://github.com/bat67/TibetanMNIST

Execution & Overall Structure of system

  1. Preprocessing : 2D Images --> 1D input data

  2. Deep Neural Network for Classification : Back-Propagation algorithm with Numpy

    python3 DNN.py
    

Preprocessing

  • Reshape the 2D images into 1D input data
    image

Deep Neural Network for Classification

Introduction of DNN please refer to 👉 https://www.nature.com/articles/nature14539

  • DNN Forward-propagation

    image

  • Computation for Forward-propagation

    image

  • DNN Backward-propagation
    Update the Weigt Matrix from back

    image

  • Computation for Backward-propagation

    image

Overfitting & Regularization

In this project, Regularization term is introduced to avoid Overfitting problem.
Regularization term will impose the penalty when the complexity of DNN model increases.
image

Details of L1 & L2 Regularization please refer to 👉 https://iopscience.iop.org/article/10.1088/1742-6596/1168/2/022022

Experimental Results

  • **Visualization of latent features with different training epochs ** test

  • Distribution after sigmoid activation function
    test

  • Confusion Matrix

    image

Releases

No releases published

Packages

No packages published

Languages