Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMM Decoding example #2

Closed
dn2015 opened this issue Jan 20, 2015 · 3 comments
Closed

HMM Decoding example #2

dn2015 opened this issue Jan 20, 2015 · 3 comments

Comments

@dn2015
Copy link

dn2015 commented Jan 20, 2015

I bought the book Scala for Machine Learning. I tried to use HMM in one of my projects. There're unit tests (examples) to train and evaluate the a HMM, but there's no example of decoding. I tried to write some code to decode from a trained HMM (CF-3), but I keep getting index out of bound. I'm not sure if my setup for decoding is wrong or there's some issue with the Viterbi implementation. Could you provide an example of CF-3? Thanks.

@prnicolas
Copy link
Owner

The publisher and I have a scheduled update of the code next week with improved and more consistent scaladocs.  I will add a simple example of Viterbi algorithm.We are also planning on an alternative implementation of the training and Viterbi using tail recursion: Not sure about ETA.

Regards,
 Patrick R. Nicolas
http://patricknicolas.blogspot.com

 On Tuesday, January 20, 2015 8:45 AM, dn2015 <notifications@github.com> wrote:

I bought the book Scala for Machine Learning. I tried to use HMM in one of my projects. There're unit tests (examples) to train and evaluate the a HMM, but there's no example of decoding. I tried to write some code to decode from a trained HMM (CF-3), but I keep getting index out of bound. I'm not sure if my setup for decoding is wrong or there's some issue with the Viterbi implementation. Could you provide an example of CF-3? Thanks.—
Reply to this email directly or view it on GitHub.

@dn2015
Copy link
Author

dn2015 commented Jan 21, 2015

Patrick,

Thank you for the update. I’m looking forward to the updated code.

Thanks.

D

On Jan 21, 2015, at 3:18 AM, Patrick Nicolas notifications@github.com wrote:

The publisher and I have a scheduled update of the code next week with improved and more consistent scaladocs. I will add a simple example of Viterbi algorithm.We are also planning on an alternative implementation of the training and Viterbi using tail recursion: Not sure about ETA.

Regards,
Patrick R. Nicolas
http://patricknicolas.blogspot.com

On Tuesday, January 20, 2015 8:45 AM, dn2015 notifications@github.com wrote:

I bought the book Scala for Machine Learning. I tried to use HMM in one of my projects. There're unit tests (examples) to train and evaluate the a HMM, but there's no example of decoding. I tried to write some code to decode from a trained HMM (CF-3), but I keep getting index out of bound. I'm not sure if my setup for decoding is wrong or there's some issue with the Viterbi implementation. Could you provide an example of CF-3? Thanks.—
Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub #2 (comment).

@dn2015
Copy link
Author

dn2015 commented Jan 26, 2015

I really appreciate the prompt updated code and the example of running CF-3 in the unit tests as requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants