基于机器学习TensorFlow人工智能框架实现的手写数字识别系统 毕业论文+任务书开题报告+外文翻译及原文+项目源码及数据集

摘 要

时下人工智能蔚然成风,作为新型生产要素,在各个领域都极大地推动了经济发展,预示着社会经济将取得巨大增长和和人类潜能将得到深度开发。实现人工智能的手段即为机器学习,而机器学习领域中的一个重要问题就是手写字符的识别。手写数字识别的应用包括邮件分拣,银行支票处理,表格数据输入等。问题的核心在于开发能够识别手写数字的有效算法的能力,并且用户通过该方式提交扫描仪,平板电脑和其他数字设备来完成手写数字的识别。但因个人手写数字特征的千差万别,造成了现有手写数字识别系统的识别准确率普遍较低。

本文旨在通过使用Google研发的Tensorflow人工智能框架,分别搭建Softmax回归模型和卷积神经网络模型,并比较两者的识别率高低。本系统使用的手写数字数据集是MNIST数据集,该数据集分为三部分:55000行训练数据集、10000 行测试数据集、以及5000行的验证数据集。每个测试集的图像的长和宽各为28个像素点,测试集的标签表示该图像是哪个数字。经过搭建、训练、使用两个模型,Softmax回归模型和卷积神经网络模型对手写数字的识别率分别为91.92%和99.13%,卷积神经网络的识别率已经达到了可以实际应用的程度。本文为人工智能的手写数字识别的发展提供了一定的理论价值和科研依据。

ABSTRACT

Nowadays, artificial intelligence has become a common and hottest trend. As a new type of production factor, it has greatly promoted economic development in various fields, indicating that the social economy will achieve tremendous growth and human potential will be deeply developed. The ways to achieve artificial intelligence is machine learning, and an important issue in the field of machine learning is the recognition of handwritten characters. Applications for handwritten digit recognition include mail sorting, bank check processing, form data entry, etc. At the core of the problem is the ability to develop efficient algorithms that recognize handwritten numbers, and in this way users submit it to scanners, tablets and other digital devices to perform handwritten digit recognition. However, due to the wide variety of personal handwritten digital features, the recognition accuracy of existing handwritten digit recognition systems is generally low.

This paper aims to build a Softmax regression model and a convolutional neural network model by using the Tensorflow artificial intelligence framework developed by Google, and compare the recognition rates of both model. The handwritten digital dataset used in this topic is the MNIST dataset. The dataset is divided into three parts: 55,000 rows of training datasets, 10,000 rows of test datasets, and 5000 rows of validation datasets. The length and width of the image for each test set are each 28 pixels, and the label of the test set indicates which number the image is. After constructin、training and applying those models, the recognition rates of handwritten numbers by Softmax regression model and convolutional neural network model are 91.92% and 99.13%, respectively. The recognition rate of convolutional neural network has reached the level of practical application. This paper provides a certain theoretical value and scientific research basis for the development of artificial intelligence handwritten digit recognition.

目 录

第一章 绪论

1.1 课题研究背景及意义

1.2 研究状况

1.3 研究内容

1.4 研究方法

1.5 论文组织结构

第二章 相关技术介绍

2.1 TensorFlow框架

2.1.1 TensorFlow框架介绍

2.1.2 TensorFlow工作原理

2.2 Python语言

2.2.1 Python介绍

2.2.2 Python优缺点介绍

2.3 Tkinter

2.3.1 Tkinter介绍

2.3.2 Tkinter模块的GUI

2.3.3 Tkinter组件

2.4 MNIST数据集

2.4.1 MNIST数据集介绍

2.4.2 MNIST数据集的文件格式

2.5 本章小结

第三章 开发环境配置

3.1 硬件设备信息

3.2 Pycharm IDE

3.3 Python3.x的安装及环境配置

3.3.1 Python安装

3.3.2 Python环境变量配置

3.4 TensorFlow-GPU安装

3.4.1下载CUDA软件包

3.4.2安装CuDNN库

3.5 Anaconda

3.5.1 Anaconda介绍

3.5.2 Conda介绍

3.6 本章小结

第四章 系统的设计与实现

4.1 Softmax Regression

4.1.1回归模型介绍

4.1.2 Softmax Regression算法介绍

4.1.3 Softmax Regression模型实现

4.1.4 Softmax Regression模型训练

4.1.5 Softmax Regression模型评估

4.1.6 Softmax Regression代码

4.2 Convolutional Neural Networks模型

4.2.1 CNN模型介绍

4.2.2 CNN结构

4.2.3 CNN的训练过程

4.2.4 CNN代码

4.3 Flask框架

4.3.1 JSON介绍

4.3.2 JSON in API

4.3.3 Request

4.4 WEB网页设计

4.5 Ajax

4.6 本章小结

第五章 系统测试

5.1软件测试介绍

5.2 QA介绍

5.3 系统测试

5.4本章小结

展望与总结

致 谢

参考文献

附 录

猜你喜欢

转载自blog.csdn.net/qq_43368615/article/details/135190604