Question: ( a ) ( 3 marks ) A training set consists of one dimensional examples from two classes. The training examples from class 1 are
a marks A training set consists of one dimensional examples from two classes. The training examples from class are and from class are Fit a one dimensional Gaussian using Maximum Likelihood to each of these two classes. You can assume that the variance for class is and the variance for class is Also estimate the class probabilities and using Maximum Likelihood. What is the probability that the test point belongs to class
b marks You are now going to make a text classifier. To begin with, you attempt to classify documents as either sport or politics. You decide to represent each document as a row vector of attributes describing the presence or absence of the following words.
goalfootball,golf, defence,offence,wicket,office,strategy
Training data from sport documents and from politics documents is represented below in a matrix in which each row represents the attributes.
Using a maximum likelihood naive Bayes classifier, what is the probability that the document is about politics?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
