iit-cs585 / assignments

Assignments for IIT CS585
3 stars 7 forks source link

Question about HMM transition probability #19

Closed ZihanNiu closed 7 years ago

ZihanNiu commented 7 years ago

Hi Prof, Although we discussed this quiz problem in class, I still feel confused. In Quiz2 we were asked to estimate P(V|N) and we do model the end states. So I think the formula is : screen shot 2017-02-28 at 7 22 23 pm And we plugged in number: screen shot 2017-02-28 at 7 24 55 pm I think N is the number of part of speech tags, (D,A,N,V) =4, why is 5 in this case? And what if we also model start states, will N become 6?

aronwc commented 7 years ago

It is 5 because we need to consider the transition N-></s>

One useful exercise: try computing all of P(V|N), P(D|N), ..., P(</s>|N) and make sure they add to one.