You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When picking transition and emission probabilities, I generally hard-code these. That makes it harder to generate systems of arbitrary size for debugging. It also means we're less likely to see things like very low transition probabilities which can cause numerical issues for decoding.
Using a dirichlet distribution, we'd be able to set these parameters randomly every time.
Could also be accomplished by generating matrix randomly, then normalizing rows to sum to 1. This is what Kevin Murphy's HMM toolbox does. That approach is less direct and less flexible, but simple to implement
When picking transition and emission probabilities, I generally hard-code these. That makes it harder to generate systems of arbitrary size for debugging. It also means we're less likely to see things like very low transition probabilities which can cause numerical issues for decoding.
Using a dirichlet distribution, we'd be able to set these parameters randomly every time.
https://en.wikipedia.org/wiki/Dirichlet_distribution
possible C++ implementation:
https://github.com/gcant/dirichlet-cpp
Downside: likely requires an additional library just for debugging
The text was updated successfully, but these errors were encountered: