SlideShare uma empresa Scribd logo
1 de 61
Baixar para ler offline
Machine Learning
Disclaimer
Images used in this presentation are collated from
different internet sources. The content is used
only for the sake of understanding the concepts of
Machine Learning. Exercise your own judgement
regarding the suitability of the content.
2
3
4
Understanding Data Science, Machine Learning, Artificial Intelligence
and Deep Learning
5
Understanding Data Science, Machine Learning, Artificial Intelligence
and Deep Learning
6
When do we use Machine Learning?
7
8
9
Classic Example of Machine Learning
10
Modern Example of Machine Learning
11
Modern Example of Machine Learning
12
Modern Example of Machine Learning
13
14
15
Case Study : Google Duplex
Google Assistant can make phone calls on behalf of
users.
Traditional Programming vs. Machine Learning
16
What is Learning?
• Learning is any process by which a system improves performance
from experience- Herbert Simon
• Learning is not knowing what you do not know but
strengthening/enforcing what you already know.
• Learning is a repetitive process, process of refinement/
improvement.
• Learning is trying to understand (concept), recognize patterns,
trends, anomalies, summarizing, quantifying, qualifying a given
situation.
• Learning is through experience, through example, presented as
data.
17
18
19
20
What is Machine Learning?
21
Machine Learning is an application of AI that provides systems the ability
to automatically learn and improve from experience without being
explicitly programmed.
A computer program is said to learn from Experience E with
respect to some Task T and some Performance measure P, if
its performance on T, as measured by P, improves with
experience E.
Eg. Smart Homes
T: Estimate the desired Temperature
E: Learning from temperature dataset
P: Accuracy of the desired temperature
Defining the Learning Task
Improve on task T, with respect to Performance metric P, based on Experience E
22
Sr. No.
TASK (T) PERFORMANCE (P) EXPERIENCE (E)
1 Playing Checkers % of games won against an
arbitrary opponent.
Playing practice games against itself.
2 Recognizing hand written words % of words correctly
classified.
Databased of human-labelled images of
handwritten words.
3 Driving on four-lane highways
using vision sensors
Average distance travelled
before a human-judged
error.
A sequence of images and steering
commands recorded while observing a
human driver.
4 Categorize email messages as
spam or legitimate
% of email messages
correctly classified.
Database of emails, some with human-
given labels.
How does Machine Learning Works?
23
How does Machine Learning Works?
24
How does Machine Learning Work?
25
Machine Learning Phases
26
Phase 1: Learning Phase 2: Prediction
Dimensionality Reduction
27
The number of training examples required increases
exponentially with dimensionality.
• The classifier’s performance usually will degrade for a large number of
features!
Types of Data
28
Discrete Data
29
•You can count the data. It is usually units counted in whole
numbers.
•The values cannot be divided into smaller pieces and add
additional meaning.
•You cannot measure the data. By nature, discrete data cannot be
measured at all. For example, you can measure your weight with the
help of a scale. So, your weight is not a discrete data.
•It has a limited number of possible values e.g. days of the month.
•Discrete data is graphically displayed by a bar graph.
Examples of Discrete Data
30
Continuous Data
31
• In general, continuous variables are not counted.
• The values can be subdivided into smaller and smaller
pieces and they have additional meaning.
• The continuous data is measurable.
• It has an infinite number of possible values within an
interval.
• Continuous data is graphically displayed by histograms.
32
33
Key Characteristic of Ordinal Data
34
35
3 Key Components of Machine Learning
Representation: how to represent knowledge ? (Select a
model to represent data)
Examples include decision trees, sets of rules, instances,
graphical models, neural networks, support vector
machines, model ensembles..
Evaluation: optimize the objective function, given
different values for the model parameters
Confusion matrix, accuracy, prediction and recall,
squared error, likelihood, posterior probability, cost,
margin, entropy
Optimization: estimate model parameters using
optimization methods-Greedy Search
Variables, parameters, or generalized loss/error
36
Types of Learning
37
Types of Learning
38
Types of Machine Learning
39
Types of Learning
40
Supervised Learning
41
UnSupervised Learning
42
Reinforcement Learning
43
Reinforcement Learning is learning what to do and how to map
situations to actions. The end result is to maximize the numerical
reward signal. The learner is not told which action to take, but
instead must discover which action will yield the maximum
reward.
Reinforcement Learning
44
Errors in Machine Learning
45
46
ERROR = noise2 + bias2 + variance
Unavoidable
error
Error due to
incorrect
assumptions
Error due to
variance of
training samples
High Bias leads to Underfitting
47
High Variance leads to Overfitting
Overfitting & Underfitting
48
Bias and Variance Trade-off
49
Type I and Type II Error
50
Metrics for Evaluation
51
1. Accuracy
Accuracy =
Accuracy or the overall success rate =
True Positive Rate =
False Positive Rate =
Metrics for Evaluation
52
2. Confusion Matrix
Test Set : 1100 images (1000 are Non-Cat and 100 are Cat images
TP: 90
FN: 10
TN: 940
FP: 60
Metrics for Evaluation
53
3. Precision and Recall
Precision =
Recall or Sensitivity or True Positive Rate =
Specificity or True Negative Rate =
Metrics for Evaluation
54
4. F1 Score
F1 Score= 2*
F1 Score is used to measure a test’s accuracy
Metrics for Evaluation
55
Classification Measures: Error Rates
56
Classification Accuracy: Estimating Error Rates
57
 Partition: Training-and-testing
 use two independent data sets, e.g., training set (2/3), test set(1/3)
 used for data set with large number of samples
 Cross-validation
 divide the data set into k subsamples
 use k-1 subsamples as training data and one sub-sample as test
data --- k-fold cross-validation
 for data set with moderate size
 Bootstrapping (leave-one-out)
 for small size data
58
59
K-Fold Cross-Validation
Classification Accuracy: Estimating Error Rates
60
• There are several factors affecting the performance:
Types of training provided
The form and extent of any initial background knowledge
The type of feedback provided
The learning algorithms used
• Two important factors:
Modeling
Optimization
61

Mais conteúdo relacionado

Mais procurados

Support vector machine
Support vector machineSupport vector machine
Support vector machineRishabh Gupta
 
Star ,Snow and Fact-Constullation Schemas??
Star ,Snow and  Fact-Constullation Schemas??Star ,Snow and  Fact-Constullation Schemas??
Star ,Snow and Fact-Constullation Schemas??Abdul Aslam
 
Support Vector Machine ppt presentation
Support Vector Machine ppt presentationSupport Vector Machine ppt presentation
Support Vector Machine ppt presentationAyanaRukasar
 
Real World End to End machine Learning Pipeline
Real World End to End machine Learning PipelineReal World End to End machine Learning Pipeline
Real World End to End machine Learning PipelineSrivatsan Srinivasan
 
Data Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model SelectionData Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model SelectionDerek Kane
 
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 1 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 1 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai UniversityMadhav Mishra
 
Machine learning Mind Map
Machine learning Mind MapMachine learning Mind Map
Machine learning Mind MapAshish Patel
 
Data preprocessing using Machine Learning
Data  preprocessing using Machine Learning Data  preprocessing using Machine Learning
Data preprocessing using Machine Learning Gopal Sakarkar
 
Support Vector Machines- SVM
Support Vector Machines- SVMSupport Vector Machines- SVM
Support Vector Machines- SVMCarlo Carandang
 
Support Vector Machines for Classification
Support Vector Machines for ClassificationSupport Vector Machines for Classification
Support Vector Machines for ClassificationPrakash Pimpale
 
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...Simplilearn
 
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptxChapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptxSovannDoeur
 
Linear Algebra – A Powerful Tool for Data Science
Linear Algebra – A Powerful Tool for Data ScienceLinear Algebra – A Powerful Tool for Data Science
Linear Algebra – A Powerful Tool for Data SciencePremier Publishers
 
Expert system with python -2
Expert system with python  -2Expert system with python  -2
Expert system with python -2Ahmad Hussein
 
Data warehouse and data mining
Data warehouse and data miningData warehouse and data mining
Data warehouse and data miningPradnya Saval
 
An Introduction to Supervised Machine Learning and Pattern Classification: Th...
An Introduction to Supervised Machine Learning and Pattern Classification: Th...An Introduction to Supervised Machine Learning and Pattern Classification: Th...
An Introduction to Supervised Machine Learning and Pattern Classification: Th...Sebastian Raschka
 

Mais procurados (20)

Support vector machine
Support vector machineSupport vector machine
Support vector machine
 
Star ,Snow and Fact-Constullation Schemas??
Star ,Snow and  Fact-Constullation Schemas??Star ,Snow and  Fact-Constullation Schemas??
Star ,Snow and Fact-Constullation Schemas??
 
Support Vector Machine ppt presentation
Support Vector Machine ppt presentationSupport Vector Machine ppt presentation
Support Vector Machine ppt presentation
 
Real World End to End machine Learning Pipeline
Real World End to End machine Learning PipelineReal World End to End machine Learning Pipeline
Real World End to End machine Learning Pipeline
 
Data Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model SelectionData Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model Selection
 
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 1 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 1 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai University
 
Machine learning Mind Map
Machine learning Mind MapMachine learning Mind Map
Machine learning Mind Map
 
Data preprocessing using Machine Learning
Data  preprocessing using Machine Learning Data  preprocessing using Machine Learning
Data preprocessing using Machine Learning
 
Support Vector Machines- SVM
Support Vector Machines- SVMSupport Vector Machines- SVM
Support Vector Machines- SVM
 
Support Vector Machines for Classification
Support Vector Machines for ClassificationSupport Vector Machines for Classification
Support Vector Machines for Classification
 
Missing Data imputation
Missing Data imputationMissing Data imputation
Missing Data imputation
 
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
Support Vector Machine - How Support Vector Machine works | SVM in Machine Le...
 
Python for data analysis
Python for data analysisPython for data analysis
Python for data analysis
 
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptxChapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
Chapter 4 NumPy Basics Arrays and Vectorized Computation (Part I).pptx
 
Linear Algebra – A Powerful Tool for Data Science
Linear Algebra – A Powerful Tool for Data ScienceLinear Algebra – A Powerful Tool for Data Science
Linear Algebra – A Powerful Tool for Data Science
 
SVM
SVM SVM
SVM
 
Expert system with python -2
Expert system with python  -2Expert system with python  -2
Expert system with python -2
 
Data warehouse and data mining
Data warehouse and data miningData warehouse and data mining
Data warehouse and data mining
 
An Introduction to Supervised Machine Learning and Pattern Classification: Th...
An Introduction to Supervised Machine Learning and Pattern Classification: Th...An Introduction to Supervised Machine Learning and Pattern Classification: Th...
An Introduction to Supervised Machine Learning and Pattern Classification: Th...
 
Forecasting.ppt
Forecasting.pptForecasting.ppt
Forecasting.ppt
 

Semelhante a 1. Demystifying ML.pdf

Machine Learning - Lecture1.pptx.pdf
Machine Learning - Lecture1.pptx.pdfMachine Learning - Lecture1.pptx.pdf
Machine Learning - Lecture1.pptx.pdfNsitTech
 
Machine Learning - Lecture2.pptx
Machine Learning - Lecture2.pptxMachine Learning - Lecture2.pptx
Machine Learning - Lecture2.pptxNsitTech
 
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptxRahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptxRahulKirtoniya
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.pptARVIND SARDAR
 
Machine Learning Contents.pptx
Machine Learning Contents.pptxMachine Learning Contents.pptx
Machine Learning Contents.pptxNaveenkushwaha18
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learningTonmoy Bhagawati
 
machine learning basic-1.pptx
machine learning basic-1.pptxmachine learning basic-1.pptx
machine learning basic-1.pptxDrLola1
 
Machine Learning Chapter one introduction
Machine Learning Chapter one introductionMachine Learning Chapter one introduction
Machine Learning Chapter one introductionARVIND SARDAR
 
Le Machine Learning de A à Z
Le Machine Learning de A à ZLe Machine Learning de A à Z
Le Machine Learning de A à ZAlexia Audevart
 
Intro to Machine Learning for non-Data Scientists
Intro to Machine Learning for non-Data ScientistsIntro to Machine Learning for non-Data Scientists
Intro to Machine Learning for non-Data ScientistsParinaz Ameri
 
Lecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Lecture 3: Basic Concepts of Machine Learning - Induction & EvaluationLecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Lecture 3: Basic Concepts of Machine Learning - Induction & EvaluationMarina Santini
 
Introduction to Machine Learning concepts
Introduction to Machine Learning conceptsIntroduction to Machine Learning concepts
Introduction to Machine Learning conceptsStefano Dalla Palma
 
This is a heavily data-oriented
This is a heavily data-orientedThis is a heavily data-oriented
This is a heavily data-orientedbutest
 
This is a heavily data-oriented
This is a heavily data-orientedThis is a heavily data-oriented
This is a heavily data-orientedbutest
 
Machine-Learning-Overview a statistical approach
Machine-Learning-Overview a statistical approachMachine-Learning-Overview a statistical approach
Machine-Learning-Overview a statistical approachAjit Ghodke
 
CS8082_MachineLearnigTechniques _Unit-1.ppt
CS8082_MachineLearnigTechniques _Unit-1.pptCS8082_MachineLearnigTechniques _Unit-1.ppt
CS8082_MachineLearnigTechniques _Unit-1.pptpushpait
 

Semelhante a 1. Demystifying ML.pdf (20)

Machine Learning - Lecture1.pptx.pdf
Machine Learning - Lecture1.pptx.pdfMachine Learning - Lecture1.pptx.pdf
Machine Learning - Lecture1.pptx.pdf
 
Machine Learning - Lecture2.pptx
Machine Learning - Lecture2.pptxMachine Learning - Lecture2.pptx
Machine Learning - Lecture2.pptx
 
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptxRahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
 
ML_Module_1.pdf
ML_Module_1.pdfML_Module_1.pdf
ML_Module_1.pdf
 
Machine Learning Ch 1.ppt
Machine Learning Ch 1.pptMachine Learning Ch 1.ppt
Machine Learning Ch 1.ppt
 
Machine Learning Contents.pptx
Machine Learning Contents.pptxMachine Learning Contents.pptx
Machine Learning Contents.pptx
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learning
 
machine learning basic-1.pptx
machine learning basic-1.pptxmachine learning basic-1.pptx
machine learning basic-1.pptx
 
Machine Learning Chapter one introduction
Machine Learning Chapter one introductionMachine Learning Chapter one introduction
Machine Learning Chapter one introduction
 
Le Machine Learning de A à Z
Le Machine Learning de A à ZLe Machine Learning de A à Z
Le Machine Learning de A à Z
 
Intro to Machine Learning for non-Data Scientists
Intro to Machine Learning for non-Data ScientistsIntro to Machine Learning for non-Data Scientists
Intro to Machine Learning for non-Data Scientists
 
Lecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Lecture 3: Basic Concepts of Machine Learning - Induction & EvaluationLecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Lecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
 
Machine Learning_Unit 2_Full.ppt.pdf
Machine Learning_Unit 2_Full.ppt.pdfMachine Learning_Unit 2_Full.ppt.pdf
Machine Learning_Unit 2_Full.ppt.pdf
 
Week 1.pdf
Week 1.pdfWeek 1.pdf
Week 1.pdf
 
Introduction to Machine Learning concepts
Introduction to Machine Learning conceptsIntroduction to Machine Learning concepts
Introduction to Machine Learning concepts
 
Ml ppt at
Ml ppt atMl ppt at
Ml ppt at
 
This is a heavily data-oriented
This is a heavily data-orientedThis is a heavily data-oriented
This is a heavily data-oriented
 
This is a heavily data-oriented
This is a heavily data-orientedThis is a heavily data-oriented
This is a heavily data-oriented
 
Machine-Learning-Overview a statistical approach
Machine-Learning-Overview a statistical approachMachine-Learning-Overview a statistical approach
Machine-Learning-Overview a statistical approach
 
CS8082_MachineLearnigTechniques _Unit-1.ppt
CS8082_MachineLearnigTechniques _Unit-1.pptCS8082_MachineLearnigTechniques _Unit-1.ppt
CS8082_MachineLearnigTechniques _Unit-1.ppt
 

Mais de Jyoti Yadav

7. Reinforcement Learning.pdf
7. Reinforcement Learning.pdf7. Reinforcement Learning.pdf
7. Reinforcement Learning.pdfJyoti Yadav
 
6. Association Rule.pdf
6. Association Rule.pdf6. Association Rule.pdf
6. Association Rule.pdfJyoti Yadav
 
4. Classification.pdf
4. Classification.pdf4. Classification.pdf
4. Classification.pdfJyoti Yadav
 
6. Web Publishing
6. Web Publishing6. Web Publishing
6. Web PublishingJyoti Yadav
 
5. Web Technology CSS Advanced
5. Web Technology CSS Advanced 5. Web Technology CSS Advanced
5. Web Technology CSS Advanced Jyoti Yadav
 
4. Web Technology CSS Basics-1
4. Web Technology CSS Basics-14. Web Technology CSS Basics-1
4. Web Technology CSS Basics-1Jyoti Yadav
 
3. Web Technology Advanced HTML
3. Web Technology Advanced HTML3. Web Technology Advanced HTML
3. Web Technology Advanced HTMLJyoti Yadav
 
2b. Web Technology HTML Basics-2
2b. Web Technology HTML Basics-22b. Web Technology HTML Basics-2
2b. Web Technology HTML Basics-2Jyoti Yadav
 
2a web technology html basics 1
2a web technology html basics 12a web technology html basics 1
2a web technology html basics 1Jyoti Yadav
 
1. web technology basics
1. web technology basics1. web technology basics
1. web technology basicsJyoti Yadav
 

Mais de Jyoti Yadav (10)

7. Reinforcement Learning.pdf
7. Reinforcement Learning.pdf7. Reinforcement Learning.pdf
7. Reinforcement Learning.pdf
 
6. Association Rule.pdf
6. Association Rule.pdf6. Association Rule.pdf
6. Association Rule.pdf
 
4. Classification.pdf
4. Classification.pdf4. Classification.pdf
4. Classification.pdf
 
6. Web Publishing
6. Web Publishing6. Web Publishing
6. Web Publishing
 
5. Web Technology CSS Advanced
5. Web Technology CSS Advanced 5. Web Technology CSS Advanced
5. Web Technology CSS Advanced
 
4. Web Technology CSS Basics-1
4. Web Technology CSS Basics-14. Web Technology CSS Basics-1
4. Web Technology CSS Basics-1
 
3. Web Technology Advanced HTML
3. Web Technology Advanced HTML3. Web Technology Advanced HTML
3. Web Technology Advanced HTML
 
2b. Web Technology HTML Basics-2
2b. Web Technology HTML Basics-22b. Web Technology HTML Basics-2
2b. Web Technology HTML Basics-2
 
2a web technology html basics 1
2a web technology html basics 12a web technology html basics 1
2a web technology html basics 1
 
1. web technology basics
1. web technology basics1. web technology basics
1. web technology basics
 

Último

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 

1. Demystifying ML.pdf

  • 2. Disclaimer Images used in this presentation are collated from different internet sources. The content is used only for the sake of understanding the concepts of Machine Learning. Exercise your own judgement regarding the suitability of the content. 2
  • 3. 3
  • 4. 4
  • 5. Understanding Data Science, Machine Learning, Artificial Intelligence and Deep Learning 5
  • 6. Understanding Data Science, Machine Learning, Artificial Intelligence and Deep Learning 6
  • 7. When do we use Machine Learning? 7
  • 8. 8
  • 9. 9
  • 10. Classic Example of Machine Learning 10
  • 11. Modern Example of Machine Learning 11
  • 12. Modern Example of Machine Learning 12
  • 13. Modern Example of Machine Learning 13
  • 14. 14
  • 15. 15 Case Study : Google Duplex Google Assistant can make phone calls on behalf of users.
  • 16. Traditional Programming vs. Machine Learning 16
  • 17. What is Learning? • Learning is any process by which a system improves performance from experience- Herbert Simon • Learning is not knowing what you do not know but strengthening/enforcing what you already know. • Learning is a repetitive process, process of refinement/ improvement. • Learning is trying to understand (concept), recognize patterns, trends, anomalies, summarizing, quantifying, qualifying a given situation. • Learning is through experience, through example, presented as data. 17
  • 18. 18
  • 19. 19
  • 20. 20
  • 21. What is Machine Learning? 21 Machine Learning is an application of AI that provides systems the ability to automatically learn and improve from experience without being explicitly programmed. A computer program is said to learn from Experience E with respect to some Task T and some Performance measure P, if its performance on T, as measured by P, improves with experience E. Eg. Smart Homes T: Estimate the desired Temperature E: Learning from temperature dataset P: Accuracy of the desired temperature
  • 22. Defining the Learning Task Improve on task T, with respect to Performance metric P, based on Experience E 22 Sr. No. TASK (T) PERFORMANCE (P) EXPERIENCE (E) 1 Playing Checkers % of games won against an arbitrary opponent. Playing practice games against itself. 2 Recognizing hand written words % of words correctly classified. Databased of human-labelled images of handwritten words. 3 Driving on four-lane highways using vision sensors Average distance travelled before a human-judged error. A sequence of images and steering commands recorded while observing a human driver. 4 Categorize email messages as spam or legitimate % of email messages correctly classified. Database of emails, some with human- given labels.
  • 23. How does Machine Learning Works? 23
  • 24. How does Machine Learning Works? 24
  • 25. How does Machine Learning Work? 25
  • 26. Machine Learning Phases 26 Phase 1: Learning Phase 2: Prediction
  • 27. Dimensionality Reduction 27 The number of training examples required increases exponentially with dimensionality. • The classifier’s performance usually will degrade for a large number of features!
  • 29. Discrete Data 29 •You can count the data. It is usually units counted in whole numbers. •The values cannot be divided into smaller pieces and add additional meaning. •You cannot measure the data. By nature, discrete data cannot be measured at all. For example, you can measure your weight with the help of a scale. So, your weight is not a discrete data. •It has a limited number of possible values e.g. days of the month. •Discrete data is graphically displayed by a bar graph.
  • 31. Continuous Data 31 • In general, continuous variables are not counted. • The values can be subdivided into smaller and smaller pieces and they have additional meaning. • The continuous data is measurable. • It has an infinite number of possible values within an interval. • Continuous data is graphically displayed by histograms.
  • 32. 32
  • 33. 33
  • 34. Key Characteristic of Ordinal Data 34
  • 35. 35
  • 36. 3 Key Components of Machine Learning Representation: how to represent knowledge ? (Select a model to represent data) Examples include decision trees, sets of rules, instances, graphical models, neural networks, support vector machines, model ensembles.. Evaluation: optimize the objective function, given different values for the model parameters Confusion matrix, accuracy, prediction and recall, squared error, likelihood, posterior probability, cost, margin, entropy Optimization: estimate model parameters using optimization methods-Greedy Search Variables, parameters, or generalized loss/error 36
  • 39. Types of Machine Learning 39
  • 43. Reinforcement Learning 43 Reinforcement Learning is learning what to do and how to map situations to actions. The end result is to maximize the numerical reward signal. The learner is not told which action to take, but instead must discover which action will yield the maximum reward.
  • 45. Errors in Machine Learning 45
  • 46. 46 ERROR = noise2 + bias2 + variance Unavoidable error Error due to incorrect assumptions Error due to variance of training samples High Bias leads to Underfitting
  • 47. 47 High Variance leads to Overfitting
  • 49. Bias and Variance Trade-off 49
  • 50. Type I and Type II Error 50
  • 51. Metrics for Evaluation 51 1. Accuracy Accuracy = Accuracy or the overall success rate = True Positive Rate = False Positive Rate =
  • 52. Metrics for Evaluation 52 2. Confusion Matrix Test Set : 1100 images (1000 are Non-Cat and 100 are Cat images TP: 90 FN: 10 TN: 940 FP: 60
  • 53. Metrics for Evaluation 53 3. Precision and Recall Precision = Recall or Sensitivity or True Positive Rate = Specificity or True Negative Rate =
  • 54. Metrics for Evaluation 54 4. F1 Score F1 Score= 2* F1 Score is used to measure a test’s accuracy
  • 57. Classification Accuracy: Estimating Error Rates 57  Partition: Training-and-testing  use two independent data sets, e.g., training set (2/3), test set(1/3)  used for data set with large number of samples  Cross-validation  divide the data set into k subsamples  use k-1 subsamples as training data and one sub-sample as test data --- k-fold cross-validation  for data set with moderate size  Bootstrapping (leave-one-out)  for small size data
  • 58. 58
  • 60. Classification Accuracy: Estimating Error Rates 60 • There are several factors affecting the performance: Types of training provided The form and extent of any initial background knowledge The type of feedback provided The learning algorithms used • Two important factors: Modeling Optimization
  • 61. 61