官术网_书友最值得收藏!

A real example — recognizing handwritten digits

In this section, we will build a network that can recognize handwritten numbers. For achieving this goal, we use MNIST (for more information, refer to http://yann.lecun.com/exdb/mnist/), a database of handwritten digits made up of a training set of 60,000 examples and a test set of 10,000 examples. The training examples are annotated by humans with the correct answer. For instance, if the handwritten digit is the number three, then three is simply the label associated with that example.

In machine learning, when a dataset with correct answers is available, we say that we can perform a form of supervised learning. In this case, we can use training examples for tuning up our net. Testing examples also have the correct answer associated with each digit. In this case, however, the idea is to pretend that the label is unknown, let the network do the prediction, and then later on, reconsider the label to evaluate how well our neural network has learned to recognize digits. So, not unsurprisingly, testing examples are just used to test our net.

Each MNIST image is in gray scale, and it consists of 28 x 28 pixels. A subset of these numbers is represented in the following diagram:

主站蜘蛛池模板: 高要市| 普安县| 宜兰市| 临朐县| 夏邑县| 胶南市| 白山市| 德州市| 宁安市| 墨竹工卡县| 称多县| 三穗县| 潮安县| 柳林县| 北碚区| 砀山县| 丽江市| 吉安市| 和政县| 安泽县| 平江县| 莎车县| 开化县| 梁平县| 林甸县| 潢川县| 浪卡子县| 吴堡县| 隆德县| 永胜县| 崇阳县| 綦江县| 永泰县| 太仆寺旗| 赞皇县| 嘉峪关市| 临夏市| 平果县| 汝城县| 司法| 武邑县|