隐马尔科夫模型(HMM)的基本问题.

UTF8gbsn

In the previous blog, we illustrated the definition of HMM and in this
blog we will list two important aspects of HMM.

The generation of observation sequence

Based on the definition of HMM, the generation of the observation
sequence O = { o 1 , o 2 , ⋯   , o T } O=\{o_1,o_2,\cdots, o_T\} O={o1,o2,,oT} is illustrated below:

  • Input: HMM λ = ( A , B , π ) \lambda=(A,B,\pi) λ=(A,B,π), and the length T T T of observation
    sequence.

  • output: Observation sequence O = { o 1 , o 2 , ⋯   , o T } O=\{o_1,o_2,\cdots, o_T\} O={o1,o2,,oT}

Algorithm:

  1. The first state i 1 i_1 i1 is generated by the initial state distribution
    π \pi π.

  2. Let t = 1 t=1 t=1

  3. Based on the observation distribution b i t ( k ) b_{i_t}(k) bit(k) and i t i_t it, we can
    get o t o_t ot of state i t i_t it.

  4. Next, we can get our next state i t + 1 i_{t+1} it+1 from the transition
    probability distribution { a i t , i t + 1 } \{a_{i_t,i_{t+1}}\} {ait,it+1}.

  5. Let t = t + 1 t=t+1 t=t+1, if t < T t<T t<T, go back go step 3. if not, stop.

Three basic problems of HMM

  1. After we defined the HMM λ = ( A , B , π ) \lambda=(A,B,\pi) λ=(A,B,π) and generated the
    observation sequence O = ( o 1 , o 2 , ⋯   , o T ) O=(o_1,o_2,\cdots, o_T) O=(o1,o2,,oT). There will be a
    problem of computing the conditional probability P ( O ∣ λ ) P(O|\lambda) P(Oλ).

  2. Learning problem. Based on the current observation sequence
    O = { o 1 , o 2 , ⋯   , o T } O=\{o_1,o_2,\cdots, o_T\} O={o1,o2,,oT} how to estimate λ = ( A , B , π ) \lambda=(A,B,\pi) λ=(A,B,π) that
    maximizes the probability of P ( O ∣ λ ) P(O|\lambda) P(Oλ).

  3. Prediction. Based on the known HMM λ = ( A , B , π ) \lambda=(A,B,\pi) λ=(A,B,π) and the
    observation sequence O = ( o 1 , o 2 , ⋯   , o T ) O=(o_1,o_2,\cdots, o_T) O=(o1,o2,,oT), how to get the most
    likely state sequence I = ( i 1 , i 2 , ⋯   , i T ) I=(i_1,i_2,\cdots, i_T) I=(i1,i2,,iT).

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值