hmmfupdaten.m
来自「Mathematical Methods by Moor n Stiling.」· M 代码 · 共 24 行
M
24 行
function f = hmmfupdaten(y,alphahat,betahat,c,HMM)
%
% Provide an update to the state output distributions for the HMM model
% using the normalized probabilities alphahat and betahat
%
% function f = hmmfupdaten(y,alphahat,betahat,HMM)
%
% y = output sequence
% alphahat = normalized alphas
% betahat = normalized betas
% c = normalization factors
% HMM = current model paramters
%
% f = updated output distribution
% Copyright 1999 by Todd K. Moon
if(HMM.f{1}==1) % discrete output distribution
f = hmmdiscfupn(y,alphahat,betahat,c,HMM);
elseif(HMM.f{1}==2) % Gaussian output distribution
f = hmmgausfupn(y,alphahat,betahat,c,HMM);
elseif(HMM.f{1}==3) % Gaussian mixture output distribution
f = hmmmgausfupn(y,alphahat,betahat,c,HMM);
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?