Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Stolen? Yes No Color Red Red Red Yellow Yellow Type Sports Sports Sports Sports Sports Origin Domestic Domestic Domestic Domestic Imported Yes Yes No Yes
Stolen? Yes No Color Red Red Red Yellow Yellow Type Sports Sports Sports Sports Sports Origin Domestic Domestic Domestic Domestic Imported Yes Yes No Yes Yellow Yellow Yellow Red Red Family Family Family Family Sports | Imported Imported Domestic Imported Imported No No | 10 Yes Derive a Nave Bayes model to predict the probability of any car being stolen from its attributes, and use the model to compute the probability of a car of the attributes {Red, Family, Domestic}. 4. Modify the EM implementation (see the notebook file EM algorithm.ipynb shared with you on the google drive) to allow for three classes (each following a Gaussian distribution with different mean and standard deviation) in the data. You should modify the code to generate three classes of the data and use the EM algorithm to learn the parameters for the three Gaussian distribution. You should submit your modified implementation in a notebook file through canvas, which should include the implementation as well as a short description of your simulation result. Stolen? Yes No Color Red Red Red Yellow Yellow Type Sports Sports Sports Sports Sports Origin Domestic Domestic Domestic Domestic Imported Yes Yes No Yes Yellow Yellow Yellow Red Red Family Family Family Family Sports | Imported Imported Domestic Imported Imported No No | 10 Yes Derive a Nave Bayes model to predict the probability of any car being stolen from its attributes, and use the model to compute the probability of a car of the attributes {Red, Family, Domestic}. 4. Modify the EM implementation (see the notebook file EM algorithm.ipynb shared with you on the google drive) to allow for three classes (each following a Gaussian distribution with different mean and standard deviation) in the data. You should modify the code to generate three classes of the data and use the EM algorithm to learn the parameters for the three Gaussian distribution. You should submit your modified implementation in a notebook file through canvas, which should include the implementation as well as a short description of your simulation result
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started