# HG changeset patch # User matthiasm # Date 1415648329 0 # Node ID 4283604499f80c4c10f48d0fa2a91b77c37144a9 # Parent 1df4a6fb0d221dcfdf932387d5f93e08bac49044 added mini probability to delta (not sure if this is a good idea, but I did it) diff -r 1df4a6fb0d22 -r 4283604499f8 matlab/flstViterbiUpdate.m --- a/matlab/flstViterbiUpdate.m Fri Oct 31 10:52:27 2014 +0800 +++ b/matlab/flstViterbiUpdate.m Mon Nov 10 19:38:49 2014 +0000 @@ -36,7 +36,8 @@ tempPsi(toState) = fromState; end end - d.delta = d.delta .* obsLik; +% d.delta = d.delta .* obsLik; + d.delta = d.delta .* obsLik + eps; deltaSum = sum(d.delta); if deltaSum > 0