Professional Documents
Culture Documents
1
Amity School of Engineering & Technology
Machine Learning
Machine Learning is often considered equivalent with Artificial
Intelligence.
This is not correct. Machine learning is a subset of Artificial Intelligence.
Machine Learning is a discipline of AI that uses data to teach machines.
Machine learning is the subfield of AI that focuses on the development of the computer
programs which have access to data by providing a system with the ability to learn and
improve automatically.
2
Amity School of Engineering & Technology
3
Amity School of Engineering & Technology
Supervised Learning
Supervised learning uses labeled data (data with known answers) to
train algorithms to:
• Classify Data
• Predict Outcomes
4
Amity School of Engineering & Technology
Unsupervised Learning
Unsupervised learning is used to predict undefined relationships like
meaningful patterns in data.
It is about creating computer algorithms than can improve themselves.
It is expected that machine learning will shift to unsupervised learning
to allow programmers to solve problems without creating models.
Example:
• Clustering – Data with similar traits are asked to group together by the algorithm; this
grouping is called clusters. These prove helpful in the study of these groups, which can
be applied to the entire data within a cluster more or less.
• High Dimension Data – High dimension data is normally not easy to work with. With
the help of unsupervised learning, visualization of high dimension data becomes
possible.
• Generative Models – Once your algorithm analyses and comes up with the probability
distribution of the input, it can be used to generate new data. This proves to be very
helpful in cases of missing data.
5
Amity School of Engineering & Technology
Self-Supervised Learning
Self-supervised learning is similar to unsupervised learning because it
works with data without human added labels.
The difference is that unsupervised learning uses clustering, grouping,
and dimensionality reduction, while self-supervised learning draw its own
conclusions for regression and classification tasks.
6
Amity School of Engineering & Technology
7
Amity School of Engineering & Technology
8
Amity School of Engineering & Technology
Below are the types of Machine learning models based on the kind of outputs we expect from
the algorithms:
9
Amity School of Engineering & Technology
1. Classification
There is a division of classes of the inputs; the system produces a model from training data
wherein it assigns new inputs to one of these classes. It falls under the umbrella of
supervised learning. A real-life example can be spam filtering, where emails are the input
that is classified as “spam” or “not spammed”.
2. Regression
Regression algorithm also is a part of supervised learning, but the difference being that the
outputs are continuous variables and not discrete.
Example – Predicting house prices using past data.
3. Dimensionality Reduction
This type of Machine Learning is related to analyses of inputs and reduces them to only
relevant ones for model development. Feature selection, i.e. input selection and feature
extraction, is further topics needed to better understand dimensionality reduction.
On the basis of the above different approaches, there are various algorithms to be
considered. Some very common algorithms being Linear and Logistic Regression, K-
nearest neighbors, Decision trees, Support vector machines, Random Forest, etc. With the
help of these algorithms, complex decision problems can have a sense of direction based
on a huge amount of data. In order to attain this accuracy and opportunities, added
resources, as well as time, are required to be provided. Therefore, machine learning used
along with Artificial intelligence and other technologies is more effective to process
information.
10
Amity School of Engineering & Technology
• Classification
• Clustering
• Time-series forecasting
• Anomaly detection
• Ranking
• Recommendation
• Data generation
• Optimization
• Regression
11
Amity School of Engineering & Technology
Regression
When the need is to predict numerical values, such kinds of problems are
called regression problems. For example, house price prediction
Classification
12
Amity School of Engineering & Technology
Clustering
13
Amity School of Engineering & Technology
Time-series forecasting
14
Amity School of Engineering & Technology
Anomaly detection
When there is a need to find the outliers in the dataset, the problem is called an
anomaly detection problem. In other words, if a given record can be classified as
an outlier or unexpected event/item, this can be called an anomaly detection
problem. For example, credit card fraud transactions detection is an anomaly
detection problem.
15
Amity School of Engineering & Technology
Ranking
When there is a need to order the results of a request or a query based on some
criteria, the problem is ranking problems. We rank the output of query
execution based on scores we assign to each output based on some algorithms.
These algorithms are called a ranking algorithm. Recommendation engines
make use of the ranking algorithm to recommend the next items.
16
Amity School of Engineering & Technology
Recommendation
When there is a need to recommend such as “next item” to buy or “next video”
to watch or “next song” to listen to, the problem is called a recommendation
problem. The solutions to such problems are called recommender systems.
17
Amity School of Engineering & Technology
Data generation
When there is a need to generate data such as images, videos, articles,
posts, etc, the problem is called a data generation problem.
Optimization
18
Amity School of Engineering & Technology
19
Amity School of Engineering & Technology
20
Amity School of Engineering & Technology
22
Amity School of Engineering & Technology
23
Amity School of Engineering & Technology
25
Amity School of Engineering & Technology
26
Amity School of Engineering & Technology
28
Amity School of Engineering & Technology
• 2014: DeepFace
• DeepFace is a deep learning algorithm which was originally
developed in 2014 and is part of the company “Meta”. The
project received significant media attention after it
outperformed human performance on the well-known “Faces in
the Wild” test.
• DeepFace is based on a deep neural network, which consists of
many layers of artificial neurons and weights that connect each
layer to its neighboring ones. The algorithm takes as input a
training data set of photographs, with each photo annotated
with the identity and age of its subject. The team has been very
successful in recent years and published many papers on their
research results. They have also trained several deep neural
networks that have achieved significant success in pattern
recognition and machine learning tasks.
29
Amity School of Engineering & Technology
30
Amity School of Engineering & Technology
31
Design a Learning System in
Amity School of Engineering & Technology
Machine Learning
• According to Arthur Samuel “Machine Learning enables a
Machine to Automatically learn from Data, Improve
performance from an Experience and predict things without
explicitly programmed.”
• In Simple Words, When we fed the Training Data to Machine
Learning Algorithm, this algorithm will produce a
mathematical model and with the help of the mathematical
model, the machine will make a prediction and take a decision
without being explicitly programmed. Also, during training
data, the more machine will work with it the more it will get
experience and the more efficient result is produced.
32
Amity School of Engineering & Technology
33
Amity School of Engineering & Technology
35
Steps for Designing Learning
Amity School of Engineering & Technology
System are:
36
Amity School of Engineering & Technology
38
Amity School of Engineering & Technology
40
Amity School of Engineering & Technology