rfechner / generic-hmm

Apache License 2.0
2 stars 1 forks source link

row of transition probability matrix can be zero #23

Closed rfechner closed 2 years ago

rfechner commented 2 years ago

For some edgecases, certain states only occur at the end of an observation sequence, thus they are listed in the observed states, but do not possess any information about transitions to other states. This means: the state was reached, but there are no transitions from it.

possible fix: assume the state to be absorbing, meaning, set the transition probability for absorbant state i to itself to 1.