SlideShare a Scribd company logo
Artificial Intelligence Lecture 15 Introduction to Machine Learning
Overview Machine Learning  ID3 Decision Tree Algorithm Discussions
Machine Learning Supervised Learning Training examples consist of pairs of input vectors, and desired outputs  Unsupervised Learning Training examples do not contain hints about correct outputs Usually used to identify unusual structures in data
Inductive Learning Basics Inferring a boolean/real-valued function from training examples A training example is a pair of (x, f(x)) x is the input f(x) is the output of the function applied to x
Hypothesis Any function that approximates the given set of examples Bias : preference for one hypothesis beyond mere consistency (a) (b) (c) (d)
Hypothesis Space A set of all hypotheses consistent with data denoted by H:{H 1 , H 2 , …, H n } Inductive learning is searching for a good hypothesis in the hypothesis space Occam’s razor: prefer the simplest hypothesis consistent with data Inductive Learning Assumption : Any hypothesis found to  approximate the target  function well over a  sufficiently large  set of  training examples  will also  approximate the target  function well over  other unobserved examples .
ID3 Decision Tree Algorithm
Training Examples
Decision Tree for  PlayTennis ? ? PlayTennis Wind Humidity Temperature Outlook Weak High Hot Overcast Weak High Hot Sunny
Decision Tree Representation Decision Tree Each internal node tests an attribute Each branch takes an attribute value Each leaf node predict a class label Disjunction of conjunctions of a set of attribute values
Entropy
Information Gain
ID3 Algorithm
Training Examples
Selecting the Best Attribute
 
Hypothesis Space Search by ID3
Discussions
Hypothesis Space Search by ID3 Hypothesis space is complete Target function surely in there … Outputs a single hypothesis (Which one?) Cannot determine how many alternatives No back tracking Local minima … Use statistical properties of all training data at each step in search Robust to noisy data
Inductive Bias in ID3 Note the hypothesis space H is the power set of instances X. Unbiased? Not really. Preference for short trees, and for those with high information gain attributes near the root Bias is a preference for some hypotheses, rather than a restriction of hypothesis space H, e.g. target concept is not in H.
Summary Machine Learning ID3 Decision Tree Algorithm Discussions

More Related Content

PPTX
PPTX
10 decision tree
PPTX
Poggi analytics - ebl - 1
PPTX
Mscs discussion
PPTX
Lexicon base approch
PPT
The science behind predictive analytics a text mining perspective
PPT
Textmining Predictive Models
PPT
Download presentation source
10 decision tree
Poggi analytics - ebl - 1
Mscs discussion
Lexicon base approch
The science behind predictive analytics a text mining perspective
Textmining Predictive Models
Download presentation source

What's hot (20)

PPT
Machine Learning: Foundations Course Number 0368403401
PDF
Human-Centric Machine Learning
PPT
Machine Learning: Foundations Course Number 0368403401
PDF
Unit 3-with-privious-quesstions
PPT
Machine Learning presentation.
PDF
Lecture 1: What is Machine Learning?
PPS
Data types ,variables,array
PDF
Octree Encoding- used in Computational Methods
PPTX
Summer Training Project On Data Structure & Algorithms
PPT
Introduction and Applications of Discrete Mathematics
PPT
Binary search in ds
PPT
S10
PDF
Machine Learning Real Life Applications By Examples
PPTX
Machine learning algorithms
DOC
Course Syllabus
PDF
Basic review on topic modeling
DOC
PDF
New open document text (2)
PPTX
Language Models for Information Retrieval
PPTX
Shishirppt
Machine Learning: Foundations Course Number 0368403401
Human-Centric Machine Learning
Machine Learning: Foundations Course Number 0368403401
Unit 3-with-privious-quesstions
Machine Learning presentation.
Lecture 1: What is Machine Learning?
Data types ,variables,array
Octree Encoding- used in Computational Methods
Summer Training Project On Data Structure & Algorithms
Introduction and Applications of Discrete Mathematics
Binary search in ds
S10
Machine Learning Real Life Applications By Examples
Machine learning algorithms
Course Syllabus
Basic review on topic modeling
New open document text (2)
Language Models for Information Retrieval
Shishirppt
Ad

Similar to Introduction to Machine Learning (20)

PPTX
Machine Learning, Decision Tree Learning module_2_ppt.pptx
PPTX
machine leraning : main principles and techniques
PPTX
AI -learning and machine learning.pptx
PPTX
Machine Learning
PPTX
Decision Tree Learning: Decision tree representation, Appropriate problems fo...
PPT
ML-DecisionTrees.ppt
PPT
fovkfgfdfsssssffffffffffssssccocmall.ppt
PPTX
ML_Unit_1_Part_C
PPTX
module_3_1.pptx
PPTX
module_3_1.pptx
PPT
3_learning.ppt
PPT
Software-Praktikum SoSe 2005 Lehrstuhl fuer Maschinelles ...
PPT
coppin chapter 10e.ppt
PPT
Machine Learning
PPT
Machine Learning: Decision Trees Chapter 18.1-18.3
PDF
Machine Learning Lecture 3 Decision Trees
PPT
Machine Learning 3 - Decision Tree Learning
PDF
01_DecisionTreesAndOverfitting-1-12-2015.pdf
PPT
Chapter II.6 (Book Part VI) Learning
PPTX
MACHINE LEARNING - ENTROPY & INFORMATION GAINpptx
Machine Learning, Decision Tree Learning module_2_ppt.pptx
machine leraning : main principles and techniques
AI -learning and machine learning.pptx
Machine Learning
Decision Tree Learning: Decision tree representation, Appropriate problems fo...
ML-DecisionTrees.ppt
fovkfgfdfsssssffffffffffssssccocmall.ppt
ML_Unit_1_Part_C
module_3_1.pptx
module_3_1.pptx
3_learning.ppt
Software-Praktikum SoSe 2005 Lehrstuhl fuer Maschinelles ...
coppin chapter 10e.ppt
Machine Learning
Machine Learning: Decision Trees Chapter 18.1-18.3
Machine Learning Lecture 3 Decision Trees
Machine Learning 3 - Decision Tree Learning
01_DecisionTreesAndOverfitting-1-12-2015.pdf
Chapter II.6 (Book Part VI) Learning
MACHINE LEARNING - ENTROPY & INFORMATION GAINpptx
Ad

More from butest (20)

PDF
EL MODELO DE NEGOCIO DE YOUTUBE
DOC
1. MPEG I.B.P frame之不同
PDF
LESSONS FROM THE MICHAEL JACKSON TRIAL
PPT
Timeline: The Life of Michael Jackson
DOCX
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
PDF
LESSONS FROM THE MICHAEL JACKSON TRIAL
PPTX
Com 380, Summer II
PPT
PPT
DOCX
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
DOC
MICHAEL JACKSON.doc
PPTX
Social Networks: Twitter Facebook SL - Slide 1
PPT
Facebook
DOCX
Executive Summary Hare Chevrolet is a General Motors dealership ...
DOC
Welcome to the Dougherty County Public Library's Facebook and ...
DOC
NEWS ANNOUNCEMENT
DOC
C-2100 Ultra Zoom.doc
DOC
MAC Printing on ITS Printers.doc.doc
DOC
Mac OS X Guide.doc
DOC
hier
DOC
WEB DESIGN!
EL MODELO DE NEGOCIO DE YOUTUBE
1. MPEG I.B.P frame之不同
LESSONS FROM THE MICHAEL JACKSON TRIAL
Timeline: The Life of Michael Jackson
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
LESSONS FROM THE MICHAEL JACKSON TRIAL
Com 380, Summer II
PPT
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
MICHAEL JACKSON.doc
Social Networks: Twitter Facebook SL - Slide 1
Facebook
Executive Summary Hare Chevrolet is a General Motors dealership ...
Welcome to the Dougherty County Public Library's Facebook and ...
NEWS ANNOUNCEMENT
C-2100 Ultra Zoom.doc
MAC Printing on ITS Printers.doc.doc
Mac OS X Guide.doc
hier
WEB DESIGN!

Introduction to Machine Learning

  • 1. Artificial Intelligence Lecture 15 Introduction to Machine Learning
  • 2. Overview Machine Learning ID3 Decision Tree Algorithm Discussions
  • 3. Machine Learning Supervised Learning Training examples consist of pairs of input vectors, and desired outputs Unsupervised Learning Training examples do not contain hints about correct outputs Usually used to identify unusual structures in data
  • 4. Inductive Learning Basics Inferring a boolean/real-valued function from training examples A training example is a pair of (x, f(x)) x is the input f(x) is the output of the function applied to x
  • 5. Hypothesis Any function that approximates the given set of examples Bias : preference for one hypothesis beyond mere consistency (a) (b) (c) (d)
  • 6. Hypothesis Space A set of all hypotheses consistent with data denoted by H:{H 1 , H 2 , …, H n } Inductive learning is searching for a good hypothesis in the hypothesis space Occam’s razor: prefer the simplest hypothesis consistent with data Inductive Learning Assumption : Any hypothesis found to approximate the target function well over a sufficiently large set of training examples will also approximate the target function well over other unobserved examples .
  • 7. ID3 Decision Tree Algorithm
  • 9. Decision Tree for PlayTennis ? ? PlayTennis Wind Humidity Temperature Outlook Weak High Hot Overcast Weak High Hot Sunny
  • 10. Decision Tree Representation Decision Tree Each internal node tests an attribute Each branch takes an attribute value Each leaf node predict a class label Disjunction of conjunctions of a set of attribute values
  • 15. Selecting the Best Attribute
  • 16.  
  • 19. Hypothesis Space Search by ID3 Hypothesis space is complete Target function surely in there … Outputs a single hypothesis (Which one?) Cannot determine how many alternatives No back tracking Local minima … Use statistical properties of all training data at each step in search Robust to noisy data
  • 20. Inductive Bias in ID3 Note the hypothesis space H is the power set of instances X. Unbiased? Not really. Preference for short trees, and for those with high information gain attributes near the root Bias is a preference for some hypotheses, rather than a restriction of hypothesis space H, e.g. target concept is not in H.
  • 21. Summary Machine Learning ID3 Decision Tree Algorithm Discussions