Problem 8 – Using Python to create a convolutional neural network (CNN)
In this section, we're going to take a look at a problem that uses artificial intelligence (AI). More specifically, we're going to work on creating a convolutional neural network, or CNN. So what is a CNN? A CNN is a Deep Learning algorithm. CNNs take images as input. The image is then processed and given importance based on predetermined conditions that will help us differentiate and classify the images.
The following diagram illustrates the process involved in the convolutional neural network:
The CNN is created in order to simplify how we categorize the images without sacrificing accuracy in terms of the predictions we want to be able to get from our image analyses. It's like if we were applying a filter. Once we apply the filter, we can see the characteristics. The preceding diagram shows a simplified...