matlab hmm工具箱怎么用,hmm 隐马尔科夫 matlab工具箱中英文对照

41528d3028836879cd698677c3999917.gifhmm 隐马尔科夫 matlab工具箱中英文对照

1 Statistics Toolbox™ functions related to hidden Markov models are: hmmgenerate — Generates a sequence of states and emissions from a Markov model 从一个已知的 HMM 模型中,产生出一个状态序列和输出序列。 Syntax (1)[seq,states] = hmmgenerate(len,TRANS,EMIS) (2)hmmgenerate(., Symbols ,SYMBOLS) (3)hmmgenerate(., Statenames ,STATENAMES) Description (1)[seq,states] = hmmgenerate(len,TRANS,EMIS) takes a known Markov model, specified by transition probability matrix TRANS and emission probability matrix EMIS, and uses it to generate: 这个已知的HMM用转移概率矩阵TRANS和输出概率矩阵EMIS来说明。 A random sequence seq of emission symbols 观测值序列 A random sequence states of states 隐状态序列 The length of both seq and states is len. len表示产生序列的长度 TRANS(i,j) is the probability of transition from state i to state j. 从状态i转移到状态j的矩阵 EMIS(k,l) is the probability that symbol l is emitted from state k. 状态k产生观测值l的概率矩阵 (2)hmmgenerate(., Symbols ,SYMBOLS) specifies the symbols that are emitted. SYMBOLS can be a numeric array or a cell array of the names of the symbols. The default symbols are integers 1 through N, where N is the number of possible emissions. 指定观测值表示方法。 (3)hmmgenerate(., Statenames ,STATENAMES) specifies the names of the states. STATENAMES can be a numeric array or a cell array of the names of the states. The default state names are 1 through M, where M is the number of states. 指定状态值表示方法。Note The function hmmgenerate begins with the model in state 1 at step 0, prior to the first emission. The model then makes a transition to state i1, with probability T1i1, and generates an emission ak1 with probabilityEi1k11. hmmgenerate returns i1 as the first entry of states, and ak1 as the first entry of seq. 产生的序列是怎么开始的 Examples trans = [0.95,0.05;0.10,0.90];2emis = [1/6 1/6 1/6 1/6 1/6 1/6;1/10 1/10 1/10 1/10 1/10 1/2]; [seq,states] = hmmgenerate(100,trans,emis) [seq,states] = hmmgenerate(100,trans,emis,. Symbols ,{ one , two , three , four , five , six },. Statenames ,{ fair ; loaded }) hmmestimate — Calculates maximum likelihood estimates of transition and emission probabilities from a sequence of emissions and a known sequence of states 通过已知的状态序列和已知的观察值序列计算出状态转移概率矩阵和观察 概率矩阵的最大似然估计值。 Syntax (1)[TRANS,EMIS] = hmmestimate(seq,states) (2)hmmestimate(., Symbols ,SYMBOLS) (3)hmmestimate(., Statenames ,STATENAMES) (4)hmmestimate(., Pseudoemissions ,PSEUDOE) (5)hmmestimate(., Pseudotransitions ,PSEUDOTR) Description (1)[TRANS,EMIS] = hmmestimate(seq,states) calculates the maximum likelihood estimate of the transition, TRANS, and emission, EMIS, probabilities of a hidden Markov model for sequence, seq, with known states, states. hmmestimate函数需要事先知道了得到输出序列seq,以及得到此结果的状 态变化序列states。 (2)hmmestimate(., Symbols ,SYMBOLS) specifies the symbols that are emitted. SYMBOLS can be a numeric array or a cell array of the names of the symbols. The default symbols are integers 1 through N, where N is the number of possible emissions. 指定观测值表示方法。 (3)hmmestimate(., Statenames ,STATENAMES) specifi

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值