What Is AI? What Is ML? What Is Deep Learning? Machine Learning Process
What Is AI? What Is ML? What Is Deep Learning? Machine Learning Process
What is AI?
AI (Artificial intelligence) is a branch of computer science in which machines are programmed and given a cognitive ability to think
and mimic actions like humans and animals. The benchmark for AI is human intelligence regarding reasoning, speech, learning, vision,
and problem solving, which is far off in the future.
AI has three different levels:
1. Narrow AI: A artificial intelligence is said to be narrow when the machine can perform a specific task better than a human. The
current research of AI is here now
2. General AI: An artificial intelligence reaches the general state when it can perform any intellectual task with the same accuracy
level as a human would
3. Active AI: An AI is active when it can beat humans in many tasks
Early AI systems used pattern matching and expert systems.
Machine Learning
Process
The objective is to use these training data to classify the type of object. The first step consists of creating the feature c olumns. Then,
the second step involves choosing an algorithm to train the model. When the training is done, the model will predict what picture
corresponds to what object.
After that, it is easy to use the model to predict new images. For each new image feeds into the model, the machine will pred ict the
class it belongs to. For example, an entirely new image without a label is going through the model. For a human being, it is t rivial to
visualize the image as a car. The machine uses its previous knowledge to predict as well the image is a car.
Deep Learning Process
In deep learning, the learning phase is done through a neural network. A neural network is an architecture where the layers a re stacked
on top of each other.
Consider the same image example above. The training set would be fed to a neural network
Each input goes into a neuron and is multiplied by a weight. The result of the multiplication flows to the next layer and bec ome the
input. This process is repeated for each layer of the network. The final layer is named the output layer; it provides an a ctual value for
the regression task and a probability of each class for the classification task. The neural network uses a mathematical algor ithm to
update the weights of all the neurons. The neural network is fully trained when the value of the weights gi ves an output close to the
reality. For instance, a well-trained neural network can recognize the object on a picture with higher accuracy than the traditional neural
net.
Deep
Learning Process
Automate Feature Extraction using DL
A dataset can contain a dozen to hundreds of features. The system will learn from the relevance of these features. However, not all
features are meaningful for the algorithm. A crucial part of machine learning is to find a relevant set of features to make t he system
learns something.
One way to perform this part in machine learning is to use feature extraction. Feature extraction combines existing features to create a
more relevant set of features. It can be done with PCA, T-SNE or any other dimensionality reduction algorithms.
For example, an image processing, the practitioner needs to extract the feature manually in the image like the eyes, the nose, lips and
so on. Those extracted features are feed to the classification model.
Deep learning solves this issue, especially for a convolutional neural network. The first layer of a neural network will lear n small details
from the picture; the next layers will combine the previous knowledge to make more complex information. In the convolutional neural
network, the feature extraction is done with the use of the filter. The network applies a filter to the picture to see if the re is a match, i.e.,
the shape of the feature is identical to a part of the image. If there is a match, the network will use this filter. The process of feature
extraction is therefore done automatically.
Traditional
Machine Learning vs Deep Learning
Difference between Machine Learning and Deep Learning
Below is a key difference between Deep Learning vs Machine Learning
Machine Learning Deep Learning
Feature Need to understand the features that No need to understand the best
engineering represent the data feature that represents the data
Execution time From few minutes to hours Up to weeks. Neural Network needs to
compute a significant number of
weights