CNNs for image tagging

Let's work on putting our new knowledge of CNNs to the test. We're going to work through one of the most popular tasks for CNNs: image classification. 

In an image classification task, our horse looks at a given image and determines the probability that a certain object is an image. In the following example, the image is 248 pixels wide, 400 pixels tall, and has three color channels: redgreen, and blue (RGB). Therefore, the image consists of 248 x 400 x 3 numbers, or a total of 2,97, 600 numbers. Our job is to turn these numbers into a single classified label; is this horse?

While this might seem a simple task for ...

Get Hands-On Artificial Intelligence for Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.