- Practical Convolutional Neural Networks
- Mohit Sewak Md. Rezaul Karim Pradeep Pujari
- 194字
- 2021-06-24 18:58:51
Handwritten number recognition with Keras and MNIST
A typical neural network for a digit recognizer may have 784 input pixels connected to 1,000 neurons in the hidden layer, which in turn connects to 10 output targets — one for each digit. Each layer is fully connected to the layer above. A graphical representation of this network is shown as follows, where x are the inputs, h are the hidden neurons, and y are the output class variables:

In this notebook, we will build a neural network that will recognize handwritten numbers from 0-9.
The type of neural network that we are building is used in a number of real-world applications, such as recognizing phone numbers and sorting postal mail by address. To build this network, we will use the MNIST dataset.
We will begin as shown in the following code by importing all the required modules, after which the data will be loaded, and then finally building the network:
# Import Numpy, keras and MNIST data import numpy as np import matplotlib.pyplot as plt from keras.datasets import mnist from keras.models import Sequential from keras.layers.core import Dense, Dropout, Activation from keras.utils import np_utils
- SQL入門經典(第5版)
- 算法競賽入門經典:習題與解答
- Python數據分析、挖掘與可視化從入門到精通
- R數據科學實戰:工具詳解與案例分析(鮮讀版)
- Spark核心技術與高級應用
- 智能數據分析:入門、實戰與平臺構建
- 白話大數據與機器學習
- SQL應用及誤區分析
- Chef Essentials
- 中文版Access 2007實例與操作
- 從實踐中學習sqlmap數據庫注入測試
- 大數據技術原理與應用:概念、存儲、處理、分析與應用
- Microsoft Dynamics NAV 2015 Professional Reporting
- 標簽類目體系:面向業務的數據資產設計方法論
- Artificial Intelligence for Big Data