Mercurial > hg > camir-aes2014
annotate toolboxes/FullBNT-1.0.7/bnt/inference/online/@hmm_2TBN_inf_engine/backT.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
rev | line source |
---|---|
wolffd@0 | 1 function b = backT(engine, f, t) |
wolffd@0 | 2 |
wolffd@0 | 3 b.t = t; |
wolffd@0 | 4 b.obslik = f.obslik; |
wolffd@0 | 5 Q = length(f.alpha); |
wolffd@0 | 6 b.beta = ones(Q,1); |
wolffd@0 | 7 b.gamma = f.alpha; |
wolffd@0 | 8 if t > 1 |
wolffd@0 | 9 bb_t = b.obslik; |
wolffd@0 | 10 b.xi = normalise((engine.transprob .* (f.past_alpha * bb_t'))); % T-1,T |
wolffd@0 | 11 end |