SlideShare a Scribd company logo
1 of 14
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

What's hot

Supervised Machine Learning With Types And Techniques
Supervised Machine Learning With Types And TechniquesSupervised Machine Learning With Types And Techniques
Supervised Machine Learning With Types And TechniquesSlideTeam
 
Machine learning and types
Machine learning and typesMachine learning and types
Machine learning and typesPadma Metta
 
(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...
(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...
(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...Eirini Ntoutsi
 
Ensemble modeling and Machine Learning
Ensemble modeling and Machine LearningEnsemble modeling and Machine Learning
Ensemble modeling and Machine LearningStepUp Analytics
 
Machine Learning
Machine LearningMachine Learning
Machine Learningbutest
 
Machine Learning
Machine LearningMachine Learning
Machine LearningRahul Kumar
 
Kato Mivule: An Overview of Adaptive Boosting – AdaBoost
Kato Mivule: An Overview of  Adaptive Boosting – AdaBoostKato Mivule: An Overview of  Adaptive Boosting – AdaBoost
Kato Mivule: An Overview of Adaptive Boosting – AdaBoostKato Mivule
 
Machine Learning Unit 2 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 2 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 2 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 2 Semester 3 MSc IT Part 2 Mumbai UniversityMadhav Mishra
 
Machine learning
Machine learningMachine learning
Machine learningRohit Kumar
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learningZAMANCHBWN
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningKmPooja4
 
activelearning.ppt
activelearning.pptactivelearning.ppt
activelearning.pptbutest
 
Lecture 01: Machine Learning for Language Technology - Introduction
 Lecture 01: Machine Learning for Language Technology - Introduction Lecture 01: Machine Learning for Language Technology - Introduction
Lecture 01: Machine Learning for Language Technology - IntroductionMarina Santini
 
Supervised Machine Learning Techniques
Supervised Machine Learning TechniquesSupervised Machine Learning Techniques
Supervised Machine Learning TechniquesTara ram Goyal
 
Machine Learning Algorithms
Machine Learning AlgorithmsMachine Learning Algorithms
Machine Learning AlgorithmsDezyreAcademy
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Simplilearn
 

What's hot (20)

Presentation1
Presentation1Presentation1
Presentation1
 
Supervised Machine Learning With Types And Techniques
Supervised Machine Learning With Types And TechniquesSupervised Machine Learning With Types And Techniques
Supervised Machine Learning With Types And Techniques
 
Machine learning and types
Machine learning and typesMachine learning and types
Machine learning and types
 
(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...
(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...
(Machine)Learning with limited labels(Machine)Learning with limited labels(Ma...
 
Ensemble modeling and Machine Learning
Ensemble modeling and Machine LearningEnsemble modeling and Machine Learning
Ensemble modeling and Machine Learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Kato Mivule: An Overview of Adaptive Boosting – AdaBoost
Kato Mivule: An Overview of  Adaptive Boosting – AdaBoostKato Mivule: An Overview of  Adaptive Boosting – AdaBoost
Kato Mivule: An Overview of Adaptive Boosting – AdaBoost
 
Ensemblelearning 181220105413
Ensemblelearning 181220105413Ensemblelearning 181220105413
Ensemblelearning 181220105413
 
Machine Learning Unit 2 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 2 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 2 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 2 Semester 3 MSc IT Part 2 Mumbai University
 
Machine Learning
Machine Learning Machine Learning
Machine Learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
activelearning.ppt
activelearning.pptactivelearning.ppt
activelearning.ppt
 
Lecture 01: Machine Learning for Language Technology - Introduction
 Lecture 01: Machine Learning for Language Technology - Introduction Lecture 01: Machine Learning for Language Technology - Introduction
Lecture 01: Machine Learning for Language Technology - Introduction
 
Supervised Machine Learning Techniques
Supervised Machine Learning TechniquesSupervised Machine Learning Techniques
Supervised Machine Learning Techniques
 
Machine Learning Algorithms
Machine Learning AlgorithmsMachine Learning Algorithms
Machine Learning Algorithms
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
 

Similar to Machine learning

Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning LandscapeEng Teong Cheah
 
micro testing teaching learning analytics
micro testing teaching learning analyticsmicro testing teaching learning analytics
micro testing teaching learning analyticsMartin Schön
 
Machine Learning.pptx
Machine Learning.pptxMachine Learning.pptx
Machine Learning.pptxromanpankaj1
 
3171617_introduction_applied machine learning.pptx
3171617_introduction_applied machine learning.pptx3171617_introduction_applied machine learning.pptx
3171617_introduction_applied machine learning.pptxjainyshah20
 
Types of machine learning
Types of machine learningTypes of machine learning
Types of machine learningHimaniAloona
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)SwatiTripathi44
 
Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Amruta Aphale
 
It's Machine Learning Basics -- For You!
It's Machine Learning Basics -- For You!It's Machine Learning Basics -- For You!
It's Machine Learning Basics -- For You!To Sum It Up
 
AI_06_Machine Learning.pptx
AI_06_Machine Learning.pptxAI_06_Machine Learning.pptx
AI_06_Machine Learning.pptxYousef Aburawi
 
Machine learning-in-details-with-out-python-code
Machine learning-in-details-with-out-python-codeMachine learning-in-details-with-out-python-code
Machine learning-in-details-with-out-python-codeOsama Ghandour Geris
 
Machine Learning
Machine LearningMachine Learning
Machine LearningAmit Kumar
 
machine learning basic-1.pptx
machine learning basic-1.pptxmachine learning basic-1.pptx
machine learning basic-1.pptxDrLola1
 
Supervised learning and unsupervised learning
Supervised learning and unsupervised learningSupervised learning and unsupervised learning
Supervised learning and unsupervised learningArunakumariAkula1
 
Unsupervised & Supervised learning Strategies in detail.pptx
Unsupervised & Supervised learning Strategies in detail.pptxUnsupervised & Supervised learning Strategies in detail.pptx
Unsupervised & Supervised learning Strategies in detail.pptxtruptikulkarni2066
 
5 learning edited 2012.ppt
5 learning edited 2012.ppt5 learning edited 2012.ppt
5 learning edited 2012.pptHenokGetachew15
 
Lecture 02 ml supervised and unsupervised
Lecture 02 ml supervised and unsupervisedLecture 02 ml supervised and unsupervised
Lecture 02 ml supervised and unsupervisedMostafa El-Hosseini
 
Introduction to Machine learning
Introduction to Machine learningIntroduction to Machine learning
Introduction to Machine learningKnoldus Inc.
 

Similar to Machine learning (20)

Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning Landscape
 
micro testing teaching learning analytics
micro testing teaching learning analyticsmicro testing teaching learning analytics
micro testing teaching learning analytics
 
Machine Learning.pptx
Machine Learning.pptxMachine Learning.pptx
Machine Learning.pptx
 
3171617_introduction_applied machine learning.pptx
3171617_introduction_applied machine learning.pptx3171617_introduction_applied machine learning.pptx
3171617_introduction_applied machine learning.pptx
 
Types of machine learning
Types of machine learningTypes of machine learning
Types of machine learning
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)
 
Lab 7.pptx
Lab 7.pptxLab 7.pptx
Lab 7.pptx
 
Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1Machine Learning SPPU Unit 1
Machine Learning SPPU Unit 1
 
It's Machine Learning Basics -- For You!
It's Machine Learning Basics -- For You!It's Machine Learning Basics -- For You!
It's Machine Learning Basics -- For You!
 
Unit-1.ppt
Unit-1.pptUnit-1.ppt
Unit-1.ppt
 
AI_06_Machine Learning.pptx
AI_06_Machine Learning.pptxAI_06_Machine Learning.pptx
AI_06_Machine Learning.pptx
 
Machine learning-in-details-with-out-python-code
Machine learning-in-details-with-out-python-codeMachine learning-in-details-with-out-python-code
Machine learning-in-details-with-out-python-code
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
machine learning basic-1.pptx
machine learning basic-1.pptxmachine learning basic-1.pptx
machine learning basic-1.pptx
 
Unit-1.pdf
Unit-1.pdfUnit-1.pdf
Unit-1.pdf
 
Supervised learning and unsupervised learning
Supervised learning and unsupervised learningSupervised learning and unsupervised learning
Supervised learning and unsupervised learning
 
Unsupervised & Supervised learning Strategies in detail.pptx
Unsupervised & Supervised learning Strategies in detail.pptxUnsupervised & Supervised learning Strategies in detail.pptx
Unsupervised & Supervised learning Strategies in detail.pptx
 
5 learning edited 2012.ppt
5 learning edited 2012.ppt5 learning edited 2012.ppt
5 learning edited 2012.ppt
 
Lecture 02 ml supervised and unsupervised
Lecture 02 ml supervised and unsupervisedLecture 02 ml supervised and unsupervised
Lecture 02 ml supervised and unsupervised
 
Introduction to Machine learning
Introduction to Machine learningIntroduction to Machine learning
Introduction to Machine learning
 

Recently uploaded

Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...ThinkInnovation
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 

Recently uploaded (20)

Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 

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