Problem 8 – using Python to create a CNN
In this section, we will explore a problem that involves artificial intelligence (AI). To be more specific, we will focus on building a CNN. But what exactly is a CNN? Well, a CNN is a deep learning algorithm that operates on images as its input. It processes and assigns importance to various aspects of the image based on predetermined features.
The following diagram illustrates the process involved in a CNN:
Figure 18.25: CNN process
A CNN is created 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 schematic for this process.
The problem we’re going to be diving into is handwriting training and analysis. Thinking about the computational thinking process...