×

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

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.

Logistic Regression in Machine learning

The Logistic regression model is a supervised learning model that is used to forecast the possibility of a target variable. The dependent variable would have two classes, or we can...

9 minutes read.

Kaggle Machine Learning Project

What is Kaggle? Data scientists and machine learning enthusiasts connect online at Kaggle. Users of Kaggle can work together, access and share datasets, use notebooks with GPU integration, and compete with...

6 minutes read.

Bias and Variances in Machine Learning

Machine Learning is an important part in many industries. Machine Learning mainly works on predicting things depending on given input. Machine Learning models are trained over a sample data set....

4 minutes read.

K-means clustering Algorithm

Introduction to K-means clustering K-mean clustering comes under the unsupervised based learning, is a process of splitting an unlabeled dataset into the clusters based on some similarity patterns present in the data. Given...

9 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.

Hands-on Machine Learning with Scikit-Learn, TensorFlow, and Keras

"Hands-On Machine Learning with Scikit-Learn and TensorFlow Keras" by Aurélien Géron is the best for you if you're comfortable with Python coding and want a fast introduction to both traditional...

4 minutes read.

Top Machine Learning Jobs

Machine Learning is an important part in many industries. Many companies in different sectors use Machine Learning techniques to improve their production rate and quality. In present days, Machine Learning...

4 minutes read.

Student Performance Prediction Using Machine Learning

Machine learning is a powerful tool that can be used to analyze and make predictions about student performance. One of the key advantages of using machine learning for student performance...

11 minutes read.

Python Anaconda setup

Python programming language is used in this tutorial to get hands-on machine learning. A compatible IDE (Integrated Development Environment) is needed to be installed on the computer system before using...

3 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.

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.

Difference between AI/ ML/ Deep Learning

Nowadays, people are very much confused with the terms artificial intelligence, machine learning, and deep learning. For them, it seems to be that all these three concepts are the same,...

11 minutes read.

Random Forest Algorithm for Machine Learning

Introduction to Random Forest Random forest is an ensemble-based supervised learning model. The concept of random forest is used in both classifications as well as in the regression problems. Basically, in...

7 minutes read.

Best Python Libraries for Machine Learning

Machine Learning is an important technology in modern days. It helps us to do the things which were not possible in previous days. If you have interest in Machine Learning...

8 minutes read.

Machine Learning Tutorial

What is Machine Learning? As all of us are very clear about the learning concept of humans, they learn from their past experiences. But can we expect the same from computers...

8 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.

What is Cross Compiler?

The programs are run through compilers, which change them from text to executable format. The same computer code cannot be transported across numerous systems once a program has been compiled...

4 minutes read.

Association Rule Learning Algorithm

Introduction to Association Rule Learning Association rule learning extracts alliances among the datapoints in a huge dataset. It incorporates the concept of data mining, which helps in finding useful commercial associations or regularities between the...

3 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.