Question: Q 2 [ 1 0 Points ] : Generative Classifier : Let us consider the IRIS dataset where we focus on x variable SepalLength and

Q2[10 Points] : Generative Classifier :
Let us consider the IRIS dataset where we focus on x variable SepalLength and our target
variable Species. In this dataset, there are three classes Y : Setosa, Versicolor, and Virginia
which have equiprobability as their priors. Fit the Gaussian Distribution for each class using (5,
0.34 and (6.98,0.62) as mean and variance respectively for Setosa, Versicolor
and Virginia. Predict the posterior probability P(x=7,Y=SETOSA),P(x=7,Y=VERSICOLOR),
and P(x=7,Y=VIRGINIA). Please write the Python code to perform the same and verify your
results as computed aforementioned. Please write full steps in justification of your code and
verification of your results.
 Q2[10 Points] : Generative Classifier : Let us consider the IRIS

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 Databases Questions!