SlideShare a Scribd company logo
1 of 48
CS364 Artificial Intelligence Machine Learning Matthew Casey portal.surrey.ac.uk/computing/resources/l3/cs364
Learning Outcomes ,[object Object],[object Object],[object Object],[object Object]
Learning Outcomes ,[object Object],[object Object],[object Object],[object Object]
What is Learning? ,[object Object],[object Object],Source: Oxford English Dictionary Online:  http://www. oed .com/ , accessed October 2003
Machine Learning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Types of Learning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Inductive Learning ,[object Object],[object Object],[object Object],[object Object],[object Object]
Key Concepts ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Generalisation
Machine Learning ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Common Techniques ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Hastie, T., Tibshirani, R. & Friedman, J.H. (2001).  The Elements of Statistical Learning: Data Mining, Inference, and Prediction .  New York: Springer-Verlag.
Neural Networks ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],http:// cwabacon . pearsoned .com/ bookbind / pubbooks / pinel _ ab /chapter3/deluxe.html
Neural Networks ,[object Object],w k1 x 1 Input Signal w k2 x 2 w km x m Φ(.) Σ Output y k Bias w k0 Synaptic Weights Summing Junction Activation Function
Decision Trees ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example 1 ,[object Object],[object Object],[object Object],[object Object]
Example 1 Root node Branch Leaf Node Outlook Temperature Sunny Hot Sell Don’t Sell Sell Yes No Mild Holiday Season Cold Don’t Sell Holiday Season Overcast No Don’t Sell Yes Temperature Hot Cold Mild Don’t Sell Sell Don’t Sell
Construction ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example 2 Draw a tree based upon the following data: - True False 3 - True True 4 2 1 Item + False True + False False Class Y X
Example 2: Tree 1 Y {3,4} Negative {1,2} Positive True False
Example 2: Tree 2 X {2,4} Y {1,3} Y {2} Positive {4} Negative True False True False {1} Positive {3} Negative True False
Which Tree? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example 3 ,[object Object],[object Object]
Choosing Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Entropy Example ,[object Object],[object Object],[object Object],[object Object],[object Object]
Entropy Example ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],Entropy Example
[object Object],[object Object],[object Object],[object Object],[object Object],Entropy Example
[object Object],[object Object],[object Object],[object Object],Entropy Example
Choosing Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],Information Gain Example
[object Object],[object Object],[object Object],Information Gain Example
Information Gain Example ,[object Object],[object Object],[object Object]
Example 4 ,[object Object]
Information Gain Example
Choosing Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object]
Recursive Example ,[object Object],[object Object],[object Object],[object Object],[object Object]
Final Tree Transport {7,12,16,19,20} Positive {8} Negative {6} Negative Callan 2003:243 {5,9,14} P ositive {2,4,10,13,18} Negative A P G {1,3,6,8,11,15,17} Housing Estate L M S N {11,17} Industrial Estate {17} Negative {11} P ositive Y N {1,3,15} University {15} Negative {1,3} P ositive Y N {2,4,5,9,10,13,14,18} Industrial Estate Y N
ID3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Issues ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Extracting Rules ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Rules Example Transport {1,3,6,8,11,15,17} Housing Estate {2,4,5,9,10,13,14,18} Industrial Estate {7,12,16,19,20} Positive {11,17} Industrial Estate {1,3,15} University {8} Negative {6} Negative {5,9,14} P ositive {2,4,10,13,18} Negative {17} Negative {11} P ositive {15} Negative {1,3} P ositive A P G L M S N Y N Y N Callan 2003:243 Y N
Rules Example ,[object Object],[object Object],[object Object]
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Source Texts ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Journals ,[object Object],[object Object],[object Object]
Articles ,[object Object],[object Object]
Websites ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

Machine Learning 3 - Decision Tree Learning
Machine Learning 3 - Decision Tree LearningMachine Learning 3 - Decision Tree Learning
Machine Learning 3 - Decision Tree Learning
butest
 
Ch 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedCh 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-based
butest
 

What's hot (20)

Deep learning with Keras
Deep learning with KerasDeep learning with Keras
Deep learning with Keras
 
Machine Learning 3 - Decision Tree Learning
Machine Learning 3 - Decision Tree LearningMachine Learning 3 - Decision Tree Learning
Machine Learning 3 - Decision Tree Learning
 
KNN
KNN KNN
KNN
 
Decision tree and random forest
Decision tree and random forestDecision tree and random forest
Decision tree and random forest
 
Id3,c4.5 algorithim
Id3,c4.5 algorithimId3,c4.5 algorithim
Id3,c4.5 algorithim
 
Decision trees in Machine Learning
Decision trees in Machine Learning Decision trees in Machine Learning
Decision trees in Machine Learning
 
Daa unit 2
Daa unit 2Daa unit 2
Daa unit 2
 
Lecture slides week14-15
Lecture slides week14-15Lecture slides week14-15
Lecture slides week14-15
 
Maxflow
MaxflowMaxflow
Maxflow
 
Classification
ClassificationClassification
Classification
 
fitness function
fitness functionfitness function
fitness function
 
Introduction to text classification using naive bayes
Introduction to text classification using naive bayesIntroduction to text classification using naive bayes
Introduction to text classification using naive bayes
 
Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3Artificial Intelligence Notes Unit 3
Artificial Intelligence Notes Unit 3
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learning
 
Question Answering System using machine learning approach
Question Answering System using machine learning approachQuestion Answering System using machine learning approach
Question Answering System using machine learning approach
 
K means Clustering Algorithm
K means Clustering AlgorithmK means Clustering Algorithm
K means Clustering Algorithm
 
Lecture 4 Decision Trees (2): Entropy, Information Gain, Gain Ratio
Lecture 4 Decision Trees (2): Entropy, Information Gain, Gain RatioLecture 4 Decision Trees (2): Entropy, Information Gain, Gain Ratio
Lecture 4 Decision Trees (2): Entropy, Information Gain, Gain Ratio
 
BAS 250 Lecture 8
BAS 250 Lecture 8BAS 250 Lecture 8
BAS 250 Lecture 8
 
Questões Resolvidas Teste Anpad set 2017
Questões Resolvidas Teste Anpad set 2017Questões Resolvidas Teste Anpad set 2017
Questões Resolvidas Teste Anpad set 2017
 
Ch 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedCh 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-based
 

Viewers also liked

Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
butest
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
butest
 
Machine Learning and Inductive Inference
Machine Learning and Inductive InferenceMachine Learning and Inductive Inference
Machine Learning and Inductive Inference
butest
 
Artificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 NegnevitskyArtificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 Negnevitsky
lopanath
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentation
lpaviglianiti
 
Lecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligenceLecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligence
Albert Orriols-Puig
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.
butest
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
Lior Rokach
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
vallibhargavi
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentation
lpaviglianiti
 

Viewers also liked (20)

Intro to Machine Learning by Microsoft Ventures
Intro to Machine Learning by Microsoft VenturesIntro to Machine Learning by Microsoft Ventures
Intro to Machine Learning by Microsoft Ventures
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Machine Learning and Inductive Inference
Machine Learning and Inductive InferenceMachine Learning and Inductive Inference
Machine Learning and Inductive Inference
 
Artificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 NegnevitskyArtificial Intelligence Chapter 9 Negnevitsky
Artificial Intelligence Chapter 9 Negnevitsky
 
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
 
2015 Artificial Intelligence Techniques at Engineering Seminar - Chapter 2 - ...
2015 Artificial Intelligence Techniques at Engineering Seminar - Chapter 2 - ...2015 Artificial Intelligence Techniques at Engineering Seminar - Chapter 2 - ...
2015 Artificial Intelligence Techniques at Engineering Seminar - Chapter 2 - ...
 
Fuzzy Logic
Fuzzy LogicFuzzy Logic
Fuzzy Logic
 
2015 Artificial Intelligence Techniques at Engineering Seminar - Chapter 2 - ...
2015 Artificial Intelligence Techniques at Engineering Seminar - Chapter 2 - ...2015 Artificial Intelligence Techniques at Engineering Seminar - Chapter 2 - ...
2015 Artificial Intelligence Techniques at Engineering Seminar - Chapter 2 - ...
 
Artificial intelligence and the Singularity - History, Trends and Reality Check
Artificial intelligence and the Singularity - History, Trends and Reality CheckArtificial intelligence and the Singularity - History, Trends and Reality Check
Artificial intelligence and the Singularity - History, Trends and Reality Check
 
Artificial intelligence report
Artificial intelligence reportArtificial intelligence report
Artificial intelligence report
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentation
 
Lecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligenceLecture1 AI1 Introduction to artificial intelligence
Lecture1 AI1 Introduction to artificial intelligence
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentation
 
introduction to data mining tutorial
introduction to data mining tutorial introduction to data mining tutorial
introduction to data mining tutorial
 

Similar to CS364 Artificial Intelligence Machine Learning

week9_Machine_Learning.ppt
week9_Machine_Learning.pptweek9_Machine_Learning.ppt
week9_Machine_Learning.ppt
butest
 
3_learning.ppt
3_learning.ppt3_learning.ppt
3_learning.ppt
butest
 
Machine Learning: Decision Trees Chapter 18.1-18.3
Machine Learning: Decision Trees Chapter 18.1-18.3Machine Learning: Decision Trees Chapter 18.1-18.3
Machine Learning: Decision Trees Chapter 18.1-18.3
butest
 
Business Analytics using R.ppt
Business Analytics using R.pptBusiness Analytics using R.ppt
Business Analytics using R.ppt
Rohit Raj
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.
butest
 
Machine learning and Neural Networks
Machine learning and Neural NetworksMachine learning and Neural Networks
Machine learning and Neural Networks
butest
 
A General Framework for Accurate and Fast Regression by Data Summarization in...
A General Framework for Accurate and Fast Regression by Data Summarization in...A General Framework for Accurate and Fast Regression by Data Summarization in...
A General Framework for Accurate and Fast Regression by Data Summarization in...
Yao Wu
 
Download presentation source
Download presentation sourceDownload presentation source
Download presentation source
butest
 
CC282 Decision trees Lecture 2 slides for CC282 Machine ...
CC282 Decision trees Lecture 2 slides for CC282 Machine ...CC282 Decision trees Lecture 2 slides for CC282 Machine ...
CC282 Decision trees Lecture 2 slides for CC282 Machine ...
butest
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.ppt
butest
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.ppt
butest
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.ppt
butest
 
slides
slidesslides
slides
butest
 

Similar to CS364 Artificial Intelligence Machine Learning (20)

week9_Machine_Learning.ppt
week9_Machine_Learning.pptweek9_Machine_Learning.ppt
week9_Machine_Learning.ppt
 
3_learning.ppt
3_learning.ppt3_learning.ppt
3_learning.ppt
 
Machine Learning: Decision Trees Chapter 18.1-18.3
Machine Learning: Decision Trees Chapter 18.1-18.3Machine Learning: Decision Trees Chapter 18.1-18.3
Machine Learning: Decision Trees Chapter 18.1-18.3
 
Business Analytics using R.ppt
Business Analytics using R.pptBusiness Analytics using R.ppt
Business Analytics using R.ppt
 
20070702 Text Categorization
20070702 Text Categorization20070702 Text Categorization
20070702 Text Categorization
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.
 
Machine learning and Neural Networks
Machine learning and Neural NetworksMachine learning and Neural Networks
Machine learning and Neural Networks
 
A General Framework for Accurate and Fast Regression by Data Summarization in...
A General Framework for Accurate and Fast Regression by Data Summarization in...A General Framework for Accurate and Fast Regression by Data Summarization in...
A General Framework for Accurate and Fast Regression by Data Summarization in...
 
Machine learning in science and industry — day 1
Machine learning in science and industry — day 1Machine learning in science and industry — day 1
Machine learning in science and industry — day 1
 
Download presentation source
Download presentation sourceDownload presentation source
Download presentation source
 
ppt
pptppt
ppt
 
My7class
My7classMy7class
My7class
 
Machine Learning and Artificial Neural Networks.ppt
Machine Learning and Artificial Neural Networks.pptMachine Learning and Artificial Neural Networks.ppt
Machine Learning and Artificial Neural Networks.ppt
 
nnml.ppt
nnml.pptnnml.ppt
nnml.ppt
 
CC282 Decision trees Lecture 2 slides for CC282 Machine ...
CC282 Decision trees Lecture 2 slides for CC282 Machine ...CC282 Decision trees Lecture 2 slides for CC282 Machine ...
CC282 Decision trees Lecture 2 slides for CC282 Machine ...
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.ppt
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.ppt
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.ppt
 
slides
slidesslides
slides
 
Decision tree learning
Decision tree learningDecision tree learning
Decision tree learning
 

More from butest

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

More from butest (20)

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

CS364 Artificial Intelligence Machine Learning

  • 1. CS364 Artificial Intelligence Machine Learning Matthew Casey portal.surrey.ac.uk/computing/resources/l3/cs364
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Example 1 Root node Branch Leaf Node Outlook Temperature Sunny Hot Sell Don’t Sell Sell Yes No Mild Holiday Season Cold Don’t Sell Holiday Season Overcast No Don’t Sell Yes Temperature Hot Cold Mild Don’t Sell Sell Don’t Sell
  • 18.
  • 19. Example 2 Draw a tree based upon the following data: - True False 3 - True True 4 2 1 Item + False True + False False Class Y X
  • 20. Example 2: Tree 1 Y {3,4} Negative {1,2} Positive True False
  • 21. Example 2: Tree 2 X {2,4} Y {1,3} Y {2} Positive {4} Negative True False True False {1} Positive {3} Negative True False
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 36.
  • 37.
  • 38. Final Tree Transport {7,12,16,19,20} Positive {8} Negative {6} Negative Callan 2003:243 {5,9,14} P ositive {2,4,10,13,18} Negative A P G {1,3,6,8,11,15,17} Housing Estate L M S N {11,17} Industrial Estate {17} Negative {11} P ositive Y N {1,3,15} University {15} Negative {1,3} P ositive Y N {2,4,5,9,10,13,14,18} Industrial Estate Y N
  • 39.
  • 40.
  • 41.
  • 42. Rules Example Transport {1,3,6,8,11,15,17} Housing Estate {2,4,5,9,10,13,14,18} Industrial Estate {7,12,16,19,20} Positive {11,17} Industrial Estate {1,3,15} University {8} Negative {6} Negative {5,9,14} P ositive {2,4,10,13,18} Negative {17} Negative {11} P ositive {15} Negative {1,3} P ositive A P G L M S N Y N Y N Callan 2003:243 Y N
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.

Editor's Notes

  1. Which class boundary is better?
  2. Least squares: linear model, given a set of points, attempt to fit a line/boundary by minimising the residual sum of squares. Decision trees: our focus. Support vector machines: non-linear boundaries represented as linear boundaries in transformed (high-dimensional) space. Boosting: combine weak classifiers and tune the training data. Neural networks: biologically inspired supervised and unsupervised techniques. K-means: given a set of points, attempt to fit k-nearest neighbours to the points. Genetic algorithms: evolutionary techniques to evolve solutions using a fitness function/breeding/mutation.