jmschrei / pomegranate

Fast, flexible and easy to use probabilistic modelling in Python.
http://pomegranate.readthedocs.org/en/latest/
MIT License
3.37k stars 590 forks source link

Top k viterbi algorithm #600

Closed lesshaste closed 5 years ago

lesshaste commented 5 years ago

Is there an implementation of the "top k" Viterbi algorithm for pomegranate? That is to find the best k paths via the Viterbi algorithm for an HMM.

jmschrei commented 5 years ago

There is not, unfortunately.

kroegern1 commented 2 years ago

I'm interested in this as well, are there any suggestions on an easy way to implement this?