(Naive Bayes) We would like to develop classifier to predict the department of a student based on the courses in which she received an A. For this purpose, we collect the following data for 10 students: Student Received A in Department EE EE EE EE EE Optics, Machine Learning, Telecom Databases, Machine Learning, Telecom Algorithms, Machine Learning, Optics Algorithms, Optics, Telecom Algorithms, Databases, Telecom Algorithms, Databases, Machine Learning Databases, Telecom Algorithms, Machine Learning Algorithms, Machine Learning, Optics Databases, Optics, Telecom 2 3. 4. CS CS 9. 10 CS CS CS (a) List and compute all parameters that are needed to learn a Naïve Bayes classifier on this training data (use the first letter of each course to denote the random variable that indicates receiving an A from that course, e.g. T=1 and T=0 respectively indicate that the student received/did not receive an A from Telecom). You don't need to compute the parameters that represent opposite events (since they can be derived from each other), so you need to compute just 1 class prior probability and 10 conditional probabilities such as P(T=1| EE), P(T=1|CS), etc. (b) Using the model you learned, predict the department of a student who received an A in Algorithms, Machine Learning, and Telecom.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
100%
4.
(Naive Bayes) We would like to develop classifier to predict the department of a
student based on the courses in which she received an A. For this purpose, we collect the
following data for 10 students:
Student Received A in
Department
EE
EE
EE
EE
Optics, Machine Learning, Telecom
Databases, Machine Learning, Telecom
Algorithms, Machine Learning, Optics
Algorithms, Optics, Telecom
Algorithms, Databases, Telecom
Algorithms, Databases, Machine Learning
Databases, Telecom
Algorithms, Machine Learning
Algorithms, Machine Learning, Optics
Databases, Optics, Telecom
2
3.
4
5
EE
CS
CS
CS
CS
CS
10
(a) List and compute all parameters that are needed to learn a Naïve Bayes classifier on this
training data (use the first letter of each course to denote the random variable that indicates
receiving an A from that course, e.g. T=1 and T=0 respectively indicate that the student
received/did not receive an A from Telecom). You don't need to compute the parameters
that represent opposite events (since they can be derived from each other), so you need to
compute just 1 class prior probability and 10 conditional probabilities such as P(T=1 | EE),
P(T=1|CS), etc.
(b) Using the model you learned, predict the department of a student who received an A in
Algorithms, Machine Learning, and Telecom.
Transcribed Image Text:4. (Naive Bayes) We would like to develop classifier to predict the department of a student based on the courses in which she received an A. For this purpose, we collect the following data for 10 students: Student Received A in Department EE EE EE EE Optics, Machine Learning, Telecom Databases, Machine Learning, Telecom Algorithms, Machine Learning, Optics Algorithms, Optics, Telecom Algorithms, Databases, Telecom Algorithms, Databases, Machine Learning Databases, Telecom Algorithms, Machine Learning Algorithms, Machine Learning, Optics Databases, Optics, Telecom 2 3. 4 5 EE CS CS CS CS CS 10 (a) List and compute all parameters that are needed to learn a Naïve Bayes classifier on this training data (use the first letter of each course to denote the random variable that indicates receiving an A from that course, e.g. T=1 and T=0 respectively indicate that the student received/did not receive an A from Telecom). You don't need to compute the parameters that represent opposite events (since they can be derived from each other), so you need to compute just 1 class prior probability and 10 conditional probabilities such as P(T=1 | EE), P(T=1|CS), etc. (b) Using the model you learned, predict the department of a student who received an A in Algorithms, Machine Learning, and Telecom.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman