What are Convolutions?
Introduction After writing my article over how to build a CNN, I forgot that I should've explained what a convolution is, in terms of image recognition. What are Convolutions? They are essentially manners of seeing the probability of a distinct set of figures. Suppose we have 2 lists, ["parrot","dog","cat"] ; ["bagel","bread","cheese"] What is the probability of getting a bagel? (3/9, or ~33%) What is the probability of getting a cat or a bagel? (5/9, or ~56%) This is what a convolution tries to do. In the context of image generation, we use a kernel, a matrix to look over every pixel (if you decide to keep it that way) of the image with certain values. The kernel will scan every pixel and then form a new matrice constructed with the scan of the pixels that want to be highlighted. (It's the number 2) There is also this thing called stride when it comes to kernels. Stride is used to tell the kernel how many pix...