Research Article

Recognition of handwritten digital neural network construction and improvement

Zhenqun Shao*
Faculty of Engineering, University of Bristol, Bristol, England, United Kingdom BS8 1TH

* Corresponding author: [email protected]

Abstract

More and more neural network algorithms are being invented and improved, but the most basic algorithms are still useful in learning or practice areas. This essay is about building a digital recognition neural network from scratch, whose implementation has a completely original core code and details and precisely elaborates the whole process of basic neural network construction through detailed mathematical derivation, combined with the idea of programming. Furthermore, this project deeply researched and analyzed recognition accuracy according to the identified data of the neural network built for the project, then improved the algorithm used by increasing the accuracy from 86.93% to 99.1% and finally successfully explained the role of raw data preprocessing.

Keywords: Neural Networks; Recognizing Handwritten Digits; Backpropagation; One-hot Encoding; Python Implementing Neural Networks.
Published: June 14, 2023
DOI: 10.54254/2755-2721/6/20230897
Volume: ACE Vol.6
pp. 575-581
Download PDF

References

  1. Behler, J. (2021). Four generations of high-dimensional neural network potentials. Chemical Reviews, 121(16), 10037-10072.
  2. Marvin, G., & Alam, M. G. R. (2022, February). Explainable Augmented Intelligence and Deep Transfer Learning for Pediatric Pulmonary Health Evaluation. In 2022 International Conference on Innovations in Science, Engineering and Technology (ICISET) (pp. 272-277). IEEE.
  3. LeCun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11), 2278-2324.
  4. Ljtyxl, (2019) Jacobian and Hessian, LM optimization methods https://blog.csdn.net/u014033218/article/details/88680720
  5. He, C. L., Zhang, P., Dong, J. X., Suen, C. Y., & Bui, T. D. (2005, August). The role of size normalization on the recognition rate of handwritten numerals. In The 1st IAPR TC3 NNLPAR workshop (pp. 8-12).
  6. Seger, Cedric. (2018). “An investigation of categorical variable encoding techniques in machine learning: binary versus one-hot and feature hashing.”
  7. Okada, S., Ohzeki, M., & Taguchi, S. (2019). Efficient partition of integer optimization problems with one-hot encoding. Scientific reports, 9(1), 1-12.
  8. Rumelhart, D. E., Hinton, G. E., & Williams, R. J. (1986). Learning representations by back-propagating errors. nature, 323(6088), 533-536.
  9. Matt Mazur. (2021) A Step by Step Backpropagation Example https://mattmazur.com/2015/03/17/a-step-by-step-backpropagation-example/
  10. Erik Learned-Miller Vector, Matrix, and Tensor Derivatives, (2015) http://cs231n.stanford.edu/vecDerivs.pdf
  11. NumPy documentation Version: 1.23 https://numpy.org/doc/stable/user/basics.broadcasting.html
  12. Weiler, M., Hamprecht, F. A., & Storath, M. (2018). Learning steerable filters for rotation equivariant cnns. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 849-858).