naive-bayes - 1 1 CS 464: Introduction to Machine Learning...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 1 CS 464: Introduction to Machine Learning Statistical Modeling (Naïve Bayes Classifier) Slides for Section 4.2 adapted from http://www.cs.waikato.ac.nz/ml/weka/book.html 2 10/20/11 Statistical modeling ● Naïve Bayes Classifier ● Use all the attributes ● Two assumptions: Attributes are ♦ equally important ♦ statistically independent (given the class value) ● I.e., knowing the value of one attribute says nothing about the value of another (if the class is known) ● Independence assumption is never correct! ● But … this scheme works well in practice 3 10/20/11 Probabilities for weather data 5/ 14 5 No 9/ 14 9 Yes Play 3/5 2/5 3 2 No 3/9 6/9 3 6 Yes True False True False Windy 1/5 4/5 1 4 No Yes No Yes No Yes 6/9 3/9 6 3 Normal High Normal High Humidity 1/5 2/5 2/5 1 2 2 3/9 4/9 2/9 3 4 2 Cool 2/5 3/9 Rainy Mild Hot Cool Mild Hot Temperature 0/5 4/9 Overcast 3/5 2/9 Sunny 2 3 Rainy 4 Overcast 3 2 Sunny Outlook No True High Mild Rainy Yes False Normal Hot Overcast Yes True High Mild Overcast Yes True Normal Mild Sunny Yes False Normal Mild Rainy Yes False Normal Cool Sunny No False High Mild Sunny Yes True Normal Cool Overcast No True Normal Cool Rainy Yes False Normal Cool Rainy Yes False High Mild Rainy Yes False High Hot Overcast No True High Hot Sunny No False High Hot Sunny Play Windy Humidity Temp Outlook 4 10/20/11 5/ 14 5 No 9/ 14 9 Yes Play 3/5 2/5 3 2 No 3/9 6/9 3 6 Yes True False True False Windy 1/5 4/5 1 4 No Yes No Yes No Yes 6/9 3/9 6 3 Normal High Normal High Humidity 1/5 2/5 2/5 1 2 2 3/9 4/9 2/9 3 4 2 Cool 2/5 3/9 Rainy Mild Hot Cool Mild Hot Temperature...
View Full Document

This note was uploaded on 01/09/2012 for the course CS cs464 at Bilkent University.

Page1 / 3

naive-bayes - 1 1 CS 464: Introduction to Machine Learning...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online