iit-cs585 / assignments

Assignments for IIT CS585
3 stars 7 forks source link

[a2] model.states #10

Closed ranjeetkumar closed 7 years ago

ranjeetkumar commented 7 years ago

Hi Professor/TA, In the assignment a2, it is not mentioned explicitly where to create instance variable states and it is being used in the main function. We can do in any function expect viterbi of HMM class? Thanks, Ranjeet

aronwc commented 7 years ago

Yes - I'd recommend initializing the states variable in the fit_transition_probas function. This should be a sorted list of strings, one per state in the model.

ranjeetkumar commented 7 years ago

Thanks a lot