11.07.2015 Views

CSE555: Introduction to Pattern Recognition Midterm ... - CEDAR

CSE555: Introduction to Pattern Recognition Midterm ... - CEDAR

CSE555: Introduction to Pattern Recognition Midterm ... - CEDAR

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4. (20pts) Let samples be drawn by successive, independent selections of a state of naturew i with unknown probability P(w i ). Let z ik = 1 if the state of nature for the kthsample is w i and z ik = 0 otherwise.(a) (7pts) Show thatn∏P(z i1 , · · · ,z in |P(w i )) = P(w i ) z ik(1 − P(w i )) 1−z ikk=1Answer:We are given that{1 if the state of nature for the kz ik =th sample is ω i0 otherwiseThe samples are drawn by successive independent selection of a state of naturew i with probability P(w i ). We have thenandThese two equations can be unified asPr[z ik = 1|P(w i )] = P(w i )Pr[z ik = 0|P(w i )] = 1 − P(w i )P(z ik |P(w i )) = [P(w i )] z ik[1 − P(w i )] 1−z ikBy the independence of the successive selection, we haveP(z i1 , · · · ,z in |P(w i )) ==n∏P(z ik |P(w i ))k=1n∏[P(w i )] z ik[1 − P(w i )] 1−z ikk=1(b) (10pts) Given the equation above, show that the maximum likelihood estimatefor P(w i ) isˆP(w i ) = 1 n∑z iknAnswer:The log-likelihood as a function of P(w i ) isk=1l(P(w i )) = lnP(z i1 , · · · ,z in |P(w i ))[ n]∏= ln [P(w i )] z ik[1 − P(w i )] 1−z ikk=1n∑= [z ik ln P(w i ) + (1 − z ik ) ln(1 − P(w i ))]k=1Therefore, the maximum-likelihood values for the P(w i ) must satisfy∇ P(wi )l(P(w i )) = 1P(w i )n∑z ik −k=1511 − P(w i )n∑(1 − z ik ) = 0k=1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!