Seite 1 von 1

### Assignment 3 B.2 'Compute and compare'

Verfasst: 30. Jun 2013 12:01
Hi, short question: What exactly shall we reformulate, compute and compare? What I understood so far is: reformulated (1), computed posteriors with the most right part of the formula (the one with the products of (µ/Cj)^n(i,m)) and compared the posteriors of class 0 and class 1, adding a short comment in the code. Or should we rather compute them with i.e. the 2nd formula p(C_j) * p(I_m|C_j) as well and compare those? In this case, the probability for p(I_m|C_j) is either 1 or 0(isn't it? ), so I basically get vectors of p(C_j) and 0s. Some clarification would be great Thanks in advance and a nice weekend.

### Re: Assignment 3 B.2 'Compute and compare'

Verfasst: 30. Jun 2013 21:28
Hey,
i would say your first proposal is right. Reformulate the right part, compute the posteriors and then you can make a prediction.
Everything else would be nonsense ...

Greetings

### Re: Assignment 3 B.2 'Compute and compare'

Verfasst: 30. Jun 2013 21:51
Thanks, sounds good 