Question: 1 . Na ve Bayes Nets Using the probability statements about the training data provided below, compute the probabilities of each separate outcome class (

1. Nave Bayes Nets Using the probability statements about the training data provided below, compute the probabilities of each separate outcome class (diamond, heart, spade, club) for the two test set observations shown on the next page. Show your work.
P(diamond)=0.15
P(heart)=0.10
P(spade)=0.40
P(club)=0.35
P(gender = male, major = accounting, class year = senior, favorite sport = golf)=0.02
P(gender = male, major = economics, class year = senior, favorite sport = baseball)=0.01
P(gender = female, major = economics, class year = junior, favorite sport = football)=0.03
P(gender = male | diamond)=0.45
P(gender = female | diamond)=0.55
P(major = accounting | diamond)=0.20
P(major = economics | diamond)=0.02
P(class year = senior | diamond)=0.22
P(class year = junior | diamond)=0.26
P(favorite sport = golf | diamond)=0.21
P(favorite sport = baseball | diamond)=0.14
P(favorite sport = football | diamond)=0.62
P(gender = male | heart)=0.44
P(gender = female | heart)=0.56
P(major = accounting | heart)=0.08
P(major = economics | heart)=0.09
P(class year = senior | heart)=0.28
P(class year = junior | heart)=0.27
P(favorite sport = golf | heart)=0.22
P(favorite sport = baseball | heart)=0.29
P(favorite sport = football | heart)=0.48
P(gender = male | spade)=0.41
P(gender = female | spade)=0.59
P(major = accounting | spade)=0.08
P(major = economics | spade)=0.11
P(class year = senior | spade)=0.19
P(class year = junior | spade)=0.17
P(favorite sport = golf | spade)=0.25
P(favorite sport = baseball | spade)=0.35
P(favorite sport = football | spade)=0.32
P(gender = male | club)=0.70
P(gender = female | club)=0.30
P(major = accounting | club)=0.04
P(major = economics | club)=0.07
P(class year = senior | club)=0.25
P(class year = junior | club)=0.27
P(favorite sport = golf | club)=0.03
P(favorite sport = baseball | club)=0.19
P(favorite sport = football | club)=0.70
Test data:
Obs # Gender Major Class Year Favorite Sport
1 male accounting senior golf
2 female economics junior baseball
2. Does it make sense that P(gender = male | diamond)+ P(gender = female | diamond)=1, but that P(major = accounting | diamond)+ P(major = economics | diamond)1? Explain.
PLEASE ANSWER QUESTIONS IN DETAIL AND PROVIDE ALL CALCULATIONS BY HAND

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!