×

Convolutional Neural Network (CNN) in Machine Learning

Machine Learning  is one of the most used modern technologies in our world. Machine Learning  helps human a lot to do their jobs at ease. Today almost every big tech companies use Machine Learning  technologies to give their customers best services. The full form of CNN is Convolutional Neural Network. You must have seen some apps which recognize your face. The technology behind this function is convolutional neural network. We use this for mainly image recognition. This is an important technology in Machine Learning. Many companies use this technology. So, it will be very good for you if you know about this thing in details. You must have seen people who build their ML projects on face recognition. This thing is really cool and it will help you in your development in this field also. In this article we will discuss about Convolutional Neural Network in details.

What is Convolutional Neural Network?

It is one of the deep learning technologies by which we can recognize images. The main inspiration in its working is visual cortex. As visual cortex works by some neural cells, it also works in same pattern. It mainly takes inputs as images and then classifies them as their particular class. There are some CNN models like LeNet model, AlexNet model, ZFNet model, and GoogleNet model.

Example: 

This process is used in postal code detection. Suppose someone has written one number and it is very much unclear. There are lots of people who don’t write very clearly. So we can use convolutional neural network here. We can pass the images as input then we can get actual number as output. So, you can see any type of image recognition can be done by this convolutional neural network.

Some Basic Concepts of Convolutional Neural Network

  • Input: If the image consists of 32 widths, 32 height encompassing three R, G, B channels, it will hold the raw pixel ([32x32x3]) values of an image.
  • Convolution layer: You can imagine the importance of this layer from the name convolutional neural network itself. This layer mainly extracts different features from the input image. It is the first layer after taking input. It mainly does its function by mathematical operation. This operation uses two inputs like one kernel or filter and another is image matrix. It learns the image features and stores the relationship between different pixels of input image.
  • ReLU Layer: Rectified Linear Unit is a layer of CNN. It mainly makes the negative value of images as zero. It controls the higher quantities depending one threshold value.
  • Pooling: This layer is an important part of CNN. It mainly works by reducing the size of image stack.
  • Locally Connected: It can be defined as a regular neural network layer that receives an input from the preceding layer followed by computing the class scores and results in a 1-Dimensional array that has the equal size to that of the number of classes.
  • Strides: Strides represent the number of pixels in input image which we have to shift at a time. If the number of strides is equal to 1 then we have to shift 1pixel in input image. If the number of strides is 2 then similarly we have to shift 2 pixels in input image.

Related Topics

Understanding different types of Machine Learning

A machine learns from a trained data set to create a model. Whenever there is a new input to the algorithm, it predicts on the basis of the model. The...

10 minutes read.

Decision Tree Algorithm in Machine Learning

We are very familiar with the word Machine Learning nowadays. Machine Learning technologies are used everywhere. Many IT companies use this type of technologies to improve their product. Decision tree...

6 minutes read.

Boosting in Machine Learning

Machine Learning and Artificial Intelligence are one of the major modern technologies. In Machine Learning, we mainly develop a model by a Machine Learning algorithm which can predict something. In...

3 minutes read.

Machine Learning Gesture Recognition

Strong attempts have recently been made to create user-computer interfaces that are intelligent, natural and based on human gestures. Both human and computers may use gestures as an interactive design. Therefore,...

12 minutes read.

Dimensionality Reduction in machine learning

What is Dimensionality? This word is generated from the word ‘dimension'. So as we know, machine learning is entirely dependent on a vast dataset, and there are a lot of variables...

3 minutes read.

Machine Learning Clustering Algorithm

Introduction to ML Clustering Algorithm Clustering falls under unsupervised learning methods. In this, the machine is provided with a set of unlabeled data, and the machine is required to extract the structure from...

2 minutes read.

Regularization in Machine Learning

We are very familiar with the word Machine Learning nowadays. Machine Learning technologies are used in everywhere. Many IT companies use this type of technologies to improve their product. In...

3 minutes read.

Top 5 programming languages and their libraries for Machine Learning

In this data-driven era, Artificial Intelligence and Machine Learning are combined in every business. Machine learning-based solutions are used to increase the speed. There are many programming languages available for...

3 minutes read.

PCA in Machine Learning

Machine Learning is one of the most used modern technologies in our world. Machine Learning helps human a lot to do their jobs at ease. PCA is widely used Machine...

3 minutes read.

Gradient descent algorithm in machine learning

Machine learning Machine learning algorithms are powerful methods and techniques which are high in terms of probability, and used to give computers high power to compute the solution for large numbers...

4 minutes read.

Feature Selection in Machine Learning

Feature selection Feature selection is the methodology of selecting some particular dataset instead of all the datasets, which is relevant to reducing the noise of machine learning models. In the machine...

3 minutes read.

Azure Machine Learning

Machine learning algorithms are powerful methods and techniques which are high in terms of probability and used to give computers high power to compute the solution for large numbers of...

3 minutes read.

Convolutional Neural Network (CNN) in Machine Learning

Machine Learning  is one of the most used modern technologies in our world. Machine Learning  helps human a lot to do their jobs at ease. Today almost every big tech...

3 minutes read.

Overfitting and Underfitting in Machine Learning

We actually talk about prediction errors, which are a measure of a machine learning model's performance and accuracy. Think about the possibility that we are developing a machine learning model....

3 minutes read.

Hierarchical Clustering Algorithm

Introduction to Hierarchical Clustering The other unsupervised learning-based algorithm used to assemble unlabeled samples based on some similarity is the Hierarchical Clustering. There are two types of hierarchical clustering algorithm: 1. Agglomerative Hierarchical Clustering...

7 minutes read.

Support Vector Machines

Introduction to SVM Support Vector Machines are part of the supervised learning model with an associated learning algorithm. It is the most powerful and flexible algorithm used for classification, regression, and...

8 minutes read.

Pattern Recognition and Machine Learning a MATLAB Companion

The cognitive process that occurs in the brain when it compares the information that we see with the information stored in our memories is called pattern recognition. It is what...

10 minutes read.

AWS Machine Learning Certification

In the technical world, you must have heard the name of AWS. Its full form is Amazon Web Services. What is AWS (Amazon Web Services)? You must have heard about cloud technology....

3 minutes read.

Perceptron in Machine Learning

Machine Learning is becoming a very important part of the technology industry day by day. Perceptron is one of the key things of Machine Learning. Mr. Frank Rosenblatt invented this...

3 minutes read.

Recommendation System in Machine Learning

In today's world, we are surrounded by machines and different types of gadgets. Machine learning is a technique which prepares machines to think and learn. A recommendation system is an...

2 minutes read.