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
I'm wondering why in forward-backward and viterbi you divide by the number of states
log_n_states?
As far as I can see it is not part of the standard viterbi or forward-backward algorithm.
Or am I overlooking something?
The lines are:
Forward_Backward.hpp line 64:
cell(i, j).alpha = pm.log_pr_corrected_emission(j, ev[0]) - log_n_states;
Viterbi.hpp line 60:
cell(0, j).alpha = pm.log_pr_corrected_emission(j, ev[0]) - log_n_states;
Best Regards
The text was updated successfully, but these errors were encountered:
Hi,
I'm wondering why in forward-backward and viterbi you divide by the number of states
log_n_states?
As far as I can see it is not part of the standard viterbi or forward-backward algorithm.
Or am I overlooking something?
The lines are:
Forward_Backward.hpp line 64:
cell(i, j).alpha = pm.log_pr_corrected_emission(j, ev[0]) - log_n_states;
Viterbi.hpp line 60:
cell(0, j).alpha = pm.log_pr_corrected_emission(j, ev[0]) - log_n_states;
Best Regards
The text was updated successfully, but these errors were encountered: