The table below shows the SAT scores for 10 randomly-selected applicants to UCSD, along with whether or not they were admitted.
Score Admitted?
1240 Y
1310 Y
1470 Y
1500 Y
1200 N
1200 N
1220 N
1250 N
1290 N
1400 N
Your friend is applying to UCSD with an SAT score of 1300. Using Gaussians to estimate the conditional probabilities involved, use a Bayes classifier to predict whether your friend will be admitted or not. Show your work and all calculations involved.
Hint: You can use scipy.stats.norm.pdf to from the Python package scipy to evaluate the normal PDF (or another similar function in a different language). But make sure you know how the function works. In particular, does it require the standard deviation, or the variance?
Get Answers For Free
Most questions answered within 1 hours.