Each Friday before sleep, Ethan decides whether to play tennis tomorrow. His decision is based on the features summarizing the weather and his amount of exercise in the past five days. The features are: • The number of hot days (H). • The number of windy days (W). • The number of days Ethan goes to the gym (G). All features have integer values from 0 to 5. Let's assume these values are sampled from binomial distribu- tions. Here are our observations: H W G Play (P) 4 No 4 2 Yes 1 4 No 3 1 Yes (a) Suppose we want to predict whether Ethan will play or not, given the features. What is the assumption of the Naive Bayes model in this context? (b) What is the probability that Ethan will play given H = 0, W = 4, and G = 2.

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter1: Expressions And Functions
Section1.2: Order Of Operations
Problem 38PPS
icon
Related questions
Question
1
Naive Bayes
Each Friday before sleep, Ethan decides whether to play tennis tomorrow. His decision is based on the
features summarizing the weather and his amount of exercise in the past five days. The features are:
• The number of hot days (H).
• The number of windy days (W).
• The number of days Ethan goes to the gym (G).
All features have integer values from 0 to 5. Let's assume these values are sampled from binomial distribu-
tions. Here are our observations:
H
W
G
Play (P)
4
No
4
2
Yes
1
4
No
3
1
Yes
(a) Suppose we want to predict whether Ethan will play or not, given the features. What is the assumption
of the Naive Bayes model in this context?
(b) What is the probability that Ethan will play given H = 0, W = 4, and G = 2.
Transcribed Image Text:1 Naive Bayes Each Friday before sleep, Ethan decides whether to play tennis tomorrow. His decision is based on the features summarizing the weather and his amount of exercise in the past five days. The features are: • The number of hot days (H). • The number of windy days (W). • The number of days Ethan goes to the gym (G). All features have integer values from 0 to 5. Let's assume these values are sampled from binomial distribu- tions. Here are our observations: H W G Play (P) 4 No 4 2 Yes 1 4 No 3 1 Yes (a) Suppose we want to predict whether Ethan will play or not, given the features. What is the assumption of the Naive Bayes model in this context? (b) What is the probability that Ethan will play given H = 0, W = 4, and G = 2.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps

Blurred answer
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
Algebra for College Students
Algebra for College Students
Algebra
ISBN:
9781285195780
Author:
Jerome E. Kaufmann, Karen L. Schwitters
Publisher:
Cengage Learning
Intermediate Algebra
Intermediate Algebra
Algebra
ISBN:
9781285195728
Author:
Jerome E. Kaufmann, Karen L. Schwitters
Publisher:
Cengage Learning
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell