Why we prefer Convolution Neural Networks (CNN) for Image data?
CHETAN SALUNKE
Data Scientist| Globally Certified Tensorflow Developer |Silver Medal in Master Of Statistics |ML| DL| NLP|LLM| Gen AI| Promt Engineering IBM Certified Data Professional| Python| SQL| Power BI| Statistics.
The answer of this Question hidden in the Architecture of the Convolution Neural Network which is quite uncommon than other neural neural networks.
the CNN have 3 main component's
so because of the convolution layers and Pooling layers we prefer the CNN architecture for image data. But what exactly happens in those layers?
1) Convolution Layer :
This convolution layers operations help to extract local spatial patterns from the input image. By applying the filters across all over the image neural networks can detect the edges, texture, shape and complex pattens from the input image. The Hierarchical nature of the CNN allows them to learn complex features from the input images as the complexity of networks goes deeper.
(you can see in the image the filter of 2*2 is convolving with the image 5*5
that is dot product (element to element multiplication) of filter over the image pixels. output of this complete process is feature map which we pass through the activation function (commonly Relu) then this activated feature map we pass through the Pooling layer)
领英推荐
2) Pooling layers :