Convolution
Learn how convolutions work and the role they play in CNNs.
We'll cover the following...
Chapter Goals:
- Learn about convolutions
- Write a convolution layer for the neural network
A. Filters and kernels
As mentioned at the end of the Image Processing section, filters play a huge role in image recognition. We use filters to transform inputs and extract features that allow our model to recognize certain images. A very high-level example of this would be a curve detecting filter, which allows our model to distinguish between digits with curves (e.g. ) and digits without curves (e.g. ).
The weights of a filter are defined through a kernel matrix. The kernel is usually a square matrix and its weights are just floating point numbers.
...
Access this course and 1400+ top-rated courses and projects.