Given the training data in the table below (Tennis data), predict the class of the following new example using Naïve Bayes classification: outlook=overcast, temperature=60, humidity=62, windy=false. outlook temperature humidity windy play sunny 85 85 false no sunny 80 90 true no overcast 83 86 false yes rainy 70 96 false yes rainy 68 80 false yes rainy 65 70 true no overcast 64 65 true yes sunny 72 95 false no sunny 69 70 false yes rainy 75 80 false yes sunny 75 70 true yes overcast 72 90 true yes overcast 81 75 false yes rainy 71 91 true no
Added by Cheryl P.
Close
Step 1
There are 9 instances where play = yes and 5 instances where play = no. So, the prior probabilities are: P(play = yes) = 9/14 = 0.64 P(play = no) = 5/14 = 0.36 Show more…
Show all steps
Your feedback will help us improve your experience
Madhur L and 91 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Using the Naive Bayes Classifier, determine whether a golfer should play (Yes or No) following dataset: Day Outlook Humidity Wind Play 1 Sunny High Weak No 2 Sunny High Strong No 3 Overcast High Weak Yes 4 Rain High Weak Yes 5 Rain Normal Weak Yes 6 Rain Normal Strong No 7 Overcast Normal Strong Yes 8 Sunny High Weak No 9 Sunny Normal Weak Yes 10 Rain Normal Weak Yes 11 Sunny Normal Strong Yes 12 Overcast High Strong Yes 13 Overcast Normal Weak Yes 14 Rain High Strong No 15 Rain High Weak ?
Sri K.
A training dataset of weather and the corresponding target variable 'Play' (suggesting possibilities of playing) is given below for 14 days. Weather Play sunny no overcast yes Rainy yes sunny yes sunny yes overcast yes Rainy no Rainy no sunny yes Rainy yes sunny no overcast yes overcast yes Rainy no Now, we need to classify whether players will play or not based on the weather condition. The problem is: players will play if the weather is sunny. Is this statement correct? Use conditional probability and the Naive Bayesian equation to answer this question.
Samriddhi S.
The table below provides a training data set containing six observations, three predictors, and one qualitative response variable: Obs. X1 X2 X3 Y 1 1 2 1 Sunny 2 1 0 0 Rainy 3 3 1 0 Rainy 4 0 2 3 Rainy 5 -2 0 1 Sunny 6 1 0 1 Sunny Suppose we wish to use this data set to make a prediction for Y when X1 = X2 = X3 = 0 using K-nearest neighbors. Our prediction is Sunny with K = 1 and Rainy with K = 3. Our prediction is Rainy with K = 1 and Rainy with K = 3. Our prediction is Rainy with K = 1 and Sunny with K = 3. Our prediction is Sunny with K = 1 and Sunny with K = 3.
Frank D.
Recommended Textbooks
Elementary Statistics a Step by Step Approach
The Practice of Statistics for AP
Introductory Statistics
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD