SlideShare a Scribd company logo
INTRODUCTION TO
MACHINE LEARNING
▪ “The field of study that gives computers the ability to learn without being explicitly
programmed” – Arthur Samuel
▪ “A computer program is said to learn from experience ‘E’ with respect to some
class of tasks ‘T’ and performance measure ‘P’, if its performance at tasks in T, as
measured by P, improves with experience E.” – Tom M. Mitchell
What is Machine Learning
Let’s try to understand the definition given by Tom Mitchell with couple of examples…
Example-1:
Classifying Emails as Spam or Not Spam:
▪ Task (T): Classifying emails as spam or not spam
▪ Experience (E): Watching the user to mark/label the emails as spam or not spam
▪ Performance (P): The number or fraction of emails correctly classified as Spam
or Not Spam
Example-2:
Recognizing Hand-written Digits :
▪ Task (T): Recognizing Hand written digits
▪ Experience (E): Watching the user to mark/label the hand-written digits to 10
classes (0-9) & identify the underlying pattern
▪ Performance (P): The number or fraction of hand-written digits correctly classified
When do we use Machine Learning
Machine learning is used in cases where:
▪ There is an intuition that a certain rule exists
▪ But, we do not know it or cannot express it mathematically
So, the machine / computer learns the rule from data…
The performance of the learning agent (in this case the machine / computer) should
improve based on experience in either of the following ways:
1. The range of the performance is expanded: The machine can do more.
2. The accuracy on tasks is improved: The machine can do things better.
3. The speed is improved: The machine can do things faster.
Different kinds of Learning
Machine Learning is a “data oriented” discipline.
Depending upon how the machine learning models learn the rule inherent in the
dataset there are various types of learning methods:
▪ Supervised Learning: In this type of learning the ground truth of the training dataset
is known. i.e. the dataset is already labelled.
▪ Un-supervised Learning: In this type of learning the ground truth of the training
dataset is not known. i.e. the dataset is not labelled.
▪ Semi-supervised Learning: In this type of learning few of the training dataset are
labelled.
▪ Reinforcement Learning: In this type of learning the agent will be penalised/rewarded
based on the incorrect/correct prediction. The task of the agent is to maximize the reward.
Supervised Learning: Learning under supervision
Teacher teaches child Child recognizes an apple when she sees it again
The machine learning model is also able to learn from past data and make prediction /
classification. This is called Supervised Learning.
Examples of Supervised Machine Learning
Sl. No. Age
Weight
(kg)
Systolic Blood Pressure
(mmHg)
1 39 67 144
2 47 78 180
3 45 61 138
.
.
.
.
.
.
.
.
.
.
.
.
240 21 72 148
241 44 63 127
242 63 72 170
▪ Task: Predicting the blood pressure of an adult
based on his/her Age and Weight.
▪ Here Age and Weight are two predictors / input
variables.
▪ Here Blood Pressure is the target / output variable.
▪ There are total 242 numbers of examples present in
the dataset.
▪ Each training sample is of the form: ⟨(Age, Weight),
Blood Pressure)⟩
▪ In the supervised learning framework we shall use a large fraction of our data to “teach”
the model, so that the model can learn and predict the rest of the data with high confidence.
Examples of Supervised Machine Learning
Sl.
No.
Age
Monthly
Income (Rs.)
Existing
Loan (Lakh)
Loan Sanction
(1 = Yes, 0 = No)
1 39 47000 2.5L 0
2 47 32000 0L 0
3 45 65000 3L 1
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
998 21 12000 0L 0
999 44 38000 1L 1
1000 63 28000 0L 0
▪ Task: Whether to sanction Loan or not to a
person based on his/her Age, Monthly Income
and Existing Loan amount.
▪ Here the predictor variables are Age,
Monthly Income and Existing Loan and the
target variable is Loan Sanction.
▪ There are total 1000 labelled samples given.
▪ Each sample is of the form: ⟨(Age, Monthly
Income, Existing Loan), Loan Sanction⟩
▪ Like previous, here also we take a fraction of the total dataset as training samples to train
our supervised learning model.
Supervised Machine Learning
▪ What is the main difference between the examples of Supervised Learning we just saw?
▪ In the first example of “Blood pressure prediction”, the predicted or output variable
assumes continuous values within a given range.
▪ While in the second example of “whether to sanction loan or not”, the predicted or
output variable is categorical in nature, as it assumes only finite discrete values.
This type of supervised learning is known as Prediction or Regression problem
This type of supervised learning is known as Classification problem
Unsupervised Machine Learning: Learning without teacher (self-organization)
Unsupervised learning is the machine learning task of inferring a function to describe
inherent hidden structure from unlabeled data.
Make
Two
Groups
Group-
Red
Group-
Green
Group-
Apple
Group-
Tomato
Unsupervised Machine Learning:
Natural grouping of objects into two or more groups such that each object fall into exactly
one group is called clustering.
The word natural is not quite definitive. It can have different meanings. Hence different
types of clusters possible out of same dataset.
Apart from clustering there are other unsupervised learning techniques. One of such is
Dimensionality Reduction. In dimensionality reduction we try to find out a lower order
representation of the data without loosing much information.
Machine Learning: Learning from data
Supervised Learning:
Learning with teacher
Unsupervised Learning:
Learning without teacher
Prediction/ Regression:
Continuous valued output
Classification:
Discrete valued output
Clustering:
Natural grouping of the data
Dimensionality Reduction:
Finding a lower order
representation of the data
Machine Learning Process
▪ Machine Learning is a data oriented discipline. So we need data to start a Machine
Learning process. Usually more data leads to better algorithm.
▪ First identify the task and acquire the required data for the task.
▪ If it’s a supervised learning task then, given the pre-processed data first break it into
train and test datasets: (Like 70% for training and 30% for test)
▪ Then pre-process and clean the data.
▪ Train your model on the training dataset and test it on the test dataset.
▪ Keep changing your model / model parameters until you get desired accuracy on
both training and test sets.
Machine Learning Process
Training
Test
Train the Model
Validate the
Model
Done
yes
no
Select a
Model
Given Data

More Related Content

PPTX
Supervised learning
Alia Hamwi
 
PPTX
supervised learning
Amar Tripathi
 
PPTX
Basics of machine learning
Gopal Verma
 
PPTX
Machine learning with ADA Boost
Aman Patel
 
PDF
Supervised learning
Learnbay Datascience
 
PPTX
Machine learning overview
prih_yah
 
PDF
Basics of Machine Learning
Harsh Makadia
 
PDF
Lecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Marina Santini
 
Supervised learning
Alia Hamwi
 
supervised learning
Amar Tripathi
 
Basics of machine learning
Gopal Verma
 
Machine learning with ADA Boost
Aman Patel
 
Supervised learning
Learnbay Datascience
 
Machine learning overview
prih_yah
 
Basics of Machine Learning
Harsh Makadia
 
Lecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Marina Santini
 

What's hot (20)

PPTX
Presentation1
ssuser844447
 
PDF
Supervised Machine Learning With Types And Techniques
SlideTeam
 
PPTX
Machine learning and types
Padma Metta
 
PDF
(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...
Eirini Ntoutsi
 
PDF
Ensemble modeling and Machine Learning
StepUp Analytics
 
PDF
Machine Learning
butest
 
PPT
Machine Learning
Rahul Kumar
 
PDF
Kato Mivule: An Overview of Adaptive Boosting – AdaBoost
Kato Mivule
 
PDF
Ensemblelearning 181220105413
Aravindharamanan S
 
PPTX
Machine Learning Unit 2 Semester 3 MSc IT Part 2 Mumbai University
Madhav Mishra
 
PPT
Machine Learning
Dhananjay Birmole
 
PPTX
Machine learning
Rohit Kumar
 
PDF
detailed Presentation on supervised learning
ZAMANCHBWN
 
PPTX
Machine Learning
Bhupender Sharma
 
PPTX
Introduction to Machine Learning
KmPooja4
 
PPT
activelearning.ppt
butest
 
PPTX
Lecture 01: Machine Learning for Language Technology - Introduction
Marina Santini
 
PPTX
Supervised Machine Learning Techniques
Tara ram Goyal
 
PPTX
Machine Learning Algorithms
DezyreAcademy
 
PPTX
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Simplilearn
 
Presentation1
ssuser844447
 
Supervised Machine Learning With Types And Techniques
SlideTeam
 
Machine learning and types
Padma Metta
 
(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...
Eirini Ntoutsi
 
Ensemble modeling and Machine Learning
StepUp Analytics
 
Machine Learning
butest
 
Machine Learning
Rahul Kumar
 
Kato Mivule: An Overview of Adaptive Boosting – AdaBoost
Kato Mivule
 
Ensemblelearning 181220105413
Aravindharamanan S
 
Machine Learning Unit 2 Semester 3 MSc IT Part 2 Mumbai University
Madhav Mishra
 
Machine Learning
Dhananjay Birmole
 
Machine learning
Rohit Kumar
 
detailed Presentation on supervised learning
ZAMANCHBWN
 
Machine Learning
Bhupender Sharma
 
Introduction to Machine Learning
KmPooja4
 
activelearning.ppt
butest
 
Lecture 01: Machine Learning for Language Technology - Introduction
Marina Santini
 
Supervised Machine Learning Techniques
Tara ram Goyal
 
Machine Learning Algorithms
DezyreAcademy
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Simplilearn
 
Ad

Similar to Machine learning (20)

PDF
Machine learning
Dr Geetha Mohan
 
DOCX
Introduction to Machine Learning for btech 7th sem
cse21216
 
PPTX
unit 1.2 supervised learning.pptx
Dr.Shweta
 
PPTX
WEEK 4 - Beginning With Machine Learning_020418.pptx
noblerexford
 
PPTX
ECT463 Machine Learning Module 1 KTU 2019 Scheme.pptx
roshi4781
 
PPTX
chapter Three artificial intelligence 1.pptx
gadisaadamu101
 
PPTX
3171617_introduction_applied machine learning.pptx
jainyshah20
 
PPT
machine-learning-with-python usage in.ppt
bandavijaykumar1
 
PPTX
Machine learning
Shailja Tripathi
 
PDF
Week 1.pdf
AnjaliJain608033
 
PPTX
Machine Learning.pptx
romanpankaj1
 
PDF
An Introduction to Machine Learning
Vedaj Padman
 
PDF
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Maninda Edirisooriya
 
PPTX
Machine Learning Seminar
Edwin Efraín Jiménez Lepe
 
PPTX
Introduction to Machine Learning
Sujith Jayaprakash
 
PPTX
Supervised learning and unsupervised learning
ArunakumariAkula1
 
PPTX
Machine Learning PPT BY RAVINDRA SINGH KUSHWAHA B.TECH(IT) CHAUDHARY CHARAN S...
RavindraSinghKushwah1
 
PPTX
Day1-Introdtechhnology of techuction.pptx
RehanHussanCSE
 
PDF
Introduction to Data Science
Christy Abraham Joy
 
PPTX
Intro to machine learning
Akshay Kanchan
 
Machine learning
Dr Geetha Mohan
 
Introduction to Machine Learning for btech 7th sem
cse21216
 
unit 1.2 supervised learning.pptx
Dr.Shweta
 
WEEK 4 - Beginning With Machine Learning_020418.pptx
noblerexford
 
ECT463 Machine Learning Module 1 KTU 2019 Scheme.pptx
roshi4781
 
chapter Three artificial intelligence 1.pptx
gadisaadamu101
 
3171617_introduction_applied machine learning.pptx
jainyshah20
 
machine-learning-with-python usage in.ppt
bandavijaykumar1
 
Machine learning
Shailja Tripathi
 
Week 1.pdf
AnjaliJain608033
 
Machine Learning.pptx
romanpankaj1
 
An Introduction to Machine Learning
Vedaj Padman
 
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Maninda Edirisooriya
 
Machine Learning Seminar
Edwin Efraín Jiménez Lepe
 
Introduction to Machine Learning
Sujith Jayaprakash
 
Supervised learning and unsupervised learning
ArunakumariAkula1
 
Machine Learning PPT BY RAVINDRA SINGH KUSHWAHA B.TECH(IT) CHAUDHARY CHARAN S...
RavindraSinghKushwah1
 
Day1-Introdtechhnology of techuction.pptx
RehanHussanCSE
 
Introduction to Data Science
Christy Abraham Joy
 
Intro to machine learning
Akshay Kanchan
 
Ad

Recently uploaded (20)

PPT
Real Life Application of Set theory, Relations and Functions
manavparmar205
 
PPT
From Vision to Reality: The Digital India Revolution
Harsh Bharvadiya
 
PPTX
lecture 13 mind test academy it skills.pptx
ggesjmrasoolpark
 
PPTX
Probability systematic sampling methods.pptx
PrakashRajput19
 
PPTX
Introduction to Data Analytics and Data Science
KavithaCIT
 
PDF
Classifcation using Machine Learning and deep learning
bhaveshagrawal35
 
PPTX
World-population.pptx fire bunberbpeople
umutunsalnsl4402
 
PPTX
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
PPTX
Future_of_AI_Presentation for everyone.pptx
boranamanju07
 
PDF
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
PDF
WISE main accomplishments for ISQOLS award July 2025.pdf
StatsCommunications
 
PDF
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
Databricks-DE-Associate Certification Questions-june-2024.pptx
pedelli41
 
PPTX
short term internship project on Data visualization
JMJCollegeComputerde
 
PPTX
White Blue Simple Modern Enhancing Sales Strategy Presentation_20250724_21093...
RamNeymarjr
 
PDF
D9110.pdfdsfvsdfvsdfvsdfvfvfsvfsvffsdfvsdfvsd
minhn6673
 
PPTX
Introduction to Biostatistics Presentation.pptx
AtemJoshua
 
PPTX
M1-T1.pptxM1-T1.pptxM1-T1.pptxM1-T1.pptx
teodoroferiarevanojr
 
PDF
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
PPTX
Pipeline Automatic Leak Detection for Water Distribution Systems
Sione Palu
 
Real Life Application of Set theory, Relations and Functions
manavparmar205
 
From Vision to Reality: The Digital India Revolution
Harsh Bharvadiya
 
lecture 13 mind test academy it skills.pptx
ggesjmrasoolpark
 
Probability systematic sampling methods.pptx
PrakashRajput19
 
Introduction to Data Analytics and Data Science
KavithaCIT
 
Classifcation using Machine Learning and deep learning
bhaveshagrawal35
 
World-population.pptx fire bunberbpeople
umutunsalnsl4402
 
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
Future_of_AI_Presentation for everyone.pptx
boranamanju07
 
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
WISE main accomplishments for ISQOLS award July 2025.pdf
StatsCommunications
 
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Databricks-DE-Associate Certification Questions-june-2024.pptx
pedelli41
 
short term internship project on Data visualization
JMJCollegeComputerde
 
White Blue Simple Modern Enhancing Sales Strategy Presentation_20250724_21093...
RamNeymarjr
 
D9110.pdfdsfvsdfvsdfvsdfvfvfsvfsvffsdfvsdfvsd
minhn6673
 
Introduction to Biostatistics Presentation.pptx
AtemJoshua
 
M1-T1.pptxM1-T1.pptxM1-T1.pptxM1-T1.pptx
teodoroferiarevanojr
 
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
Pipeline Automatic Leak Detection for Water Distribution Systems
Sione Palu
 

Machine learning

  • 2. ▪ “The field of study that gives computers the ability to learn without being explicitly programmed” – Arthur Samuel ▪ “A computer program is said to learn from experience ‘E’ with respect to some class of tasks ‘T’ and performance measure ‘P’, if its performance at tasks in T, as measured by P, improves with experience E.” – Tom M. Mitchell What is Machine Learning Let’s try to understand the definition given by Tom Mitchell with couple of examples…
  • 3. Example-1: Classifying Emails as Spam or Not Spam: ▪ Task (T): Classifying emails as spam or not spam ▪ Experience (E): Watching the user to mark/label the emails as spam or not spam ▪ Performance (P): The number or fraction of emails correctly classified as Spam or Not Spam Example-2: Recognizing Hand-written Digits : ▪ Task (T): Recognizing Hand written digits ▪ Experience (E): Watching the user to mark/label the hand-written digits to 10 classes (0-9) & identify the underlying pattern ▪ Performance (P): The number or fraction of hand-written digits correctly classified
  • 4. When do we use Machine Learning Machine learning is used in cases where: ▪ There is an intuition that a certain rule exists ▪ But, we do not know it or cannot express it mathematically So, the machine / computer learns the rule from data… The performance of the learning agent (in this case the machine / computer) should improve based on experience in either of the following ways: 1. The range of the performance is expanded: The machine can do more. 2. The accuracy on tasks is improved: The machine can do things better. 3. The speed is improved: The machine can do things faster.
  • 5. Different kinds of Learning Machine Learning is a “data oriented” discipline. Depending upon how the machine learning models learn the rule inherent in the dataset there are various types of learning methods: ▪ Supervised Learning: In this type of learning the ground truth of the training dataset is known. i.e. the dataset is already labelled. ▪ Un-supervised Learning: In this type of learning the ground truth of the training dataset is not known. i.e. the dataset is not labelled. ▪ Semi-supervised Learning: In this type of learning few of the training dataset are labelled. ▪ Reinforcement Learning: In this type of learning the agent will be penalised/rewarded based on the incorrect/correct prediction. The task of the agent is to maximize the reward.
  • 6. Supervised Learning: Learning under supervision Teacher teaches child Child recognizes an apple when she sees it again The machine learning model is also able to learn from past data and make prediction / classification. This is called Supervised Learning.
  • 7. Examples of Supervised Machine Learning Sl. No. Age Weight (kg) Systolic Blood Pressure (mmHg) 1 39 67 144 2 47 78 180 3 45 61 138 . . . . . . . . . . . . 240 21 72 148 241 44 63 127 242 63 72 170 ▪ Task: Predicting the blood pressure of an adult based on his/her Age and Weight. ▪ Here Age and Weight are two predictors / input variables. ▪ Here Blood Pressure is the target / output variable. ▪ There are total 242 numbers of examples present in the dataset. ▪ Each training sample is of the form: ⟨(Age, Weight), Blood Pressure)⟩ ▪ In the supervised learning framework we shall use a large fraction of our data to “teach” the model, so that the model can learn and predict the rest of the data with high confidence.
  • 8. Examples of Supervised Machine Learning Sl. No. Age Monthly Income (Rs.) Existing Loan (Lakh) Loan Sanction (1 = Yes, 0 = No) 1 39 47000 2.5L 0 2 47 32000 0L 0 3 45 65000 3L 1 . . . . . . . . . . . . . . . 998 21 12000 0L 0 999 44 38000 1L 1 1000 63 28000 0L 0 ▪ Task: Whether to sanction Loan or not to a person based on his/her Age, Monthly Income and Existing Loan amount. ▪ Here the predictor variables are Age, Monthly Income and Existing Loan and the target variable is Loan Sanction. ▪ There are total 1000 labelled samples given. ▪ Each sample is of the form: ⟨(Age, Monthly Income, Existing Loan), Loan Sanction⟩ ▪ Like previous, here also we take a fraction of the total dataset as training samples to train our supervised learning model.
  • 9. Supervised Machine Learning ▪ What is the main difference between the examples of Supervised Learning we just saw? ▪ In the first example of “Blood pressure prediction”, the predicted or output variable assumes continuous values within a given range. ▪ While in the second example of “whether to sanction loan or not”, the predicted or output variable is categorical in nature, as it assumes only finite discrete values. This type of supervised learning is known as Prediction or Regression problem This type of supervised learning is known as Classification problem
  • 10. Unsupervised Machine Learning: Learning without teacher (self-organization) Unsupervised learning is the machine learning task of inferring a function to describe inherent hidden structure from unlabeled data. Make Two Groups Group- Red Group- Green Group- Apple Group- Tomato
  • 11. Unsupervised Machine Learning: Natural grouping of objects into two or more groups such that each object fall into exactly one group is called clustering. The word natural is not quite definitive. It can have different meanings. Hence different types of clusters possible out of same dataset. Apart from clustering there are other unsupervised learning techniques. One of such is Dimensionality Reduction. In dimensionality reduction we try to find out a lower order representation of the data without loosing much information.
  • 12. Machine Learning: Learning from data Supervised Learning: Learning with teacher Unsupervised Learning: Learning without teacher Prediction/ Regression: Continuous valued output Classification: Discrete valued output Clustering: Natural grouping of the data Dimensionality Reduction: Finding a lower order representation of the data
  • 13. Machine Learning Process ▪ Machine Learning is a data oriented discipline. So we need data to start a Machine Learning process. Usually more data leads to better algorithm. ▪ First identify the task and acquire the required data for the task. ▪ If it’s a supervised learning task then, given the pre-processed data first break it into train and test datasets: (Like 70% for training and 30% for test) ▪ Then pre-process and clean the data. ▪ Train your model on the training dataset and test it on the test dataset. ▪ Keep changing your model / model parameters until you get desired accuracy on both training and test sets.
  • 14. Machine Learning Process Training Test Train the Model Validate the Model Done yes no Select a Model Given Data