1. 程式人生 > >《統計學習方法》讀書筆記

《統計學習方法》讀書筆記

10.2.3 後向演算法

βt(i)=j=1Naijbj(ot+1)βt+1(j)\beta_t(i)=\displaystyle \sum_{j=1}^N a_{ij} b_j(o_{t+1}) \beta_{t+1}(j)(10.20) 證明: j=1Naijbj(ot+1)βt+1(j)=j=1NaijP(ot+1it+1=qj)P(ot+2,ot+3, ,oTit+1=qj,λ)=j=1NaijP(P(ot+1,ot+2, ,oTit+1=qj,λ)

=j=1NP(it+1=qjit=qi)P(ot+1,ot+2, ,oTit+1=qj,λ)=j=1NP(it=qiit+1=qj)P(it+1=qj)P(it=qi)P(ot+1,ot+2, ,oTit+1=qj,λ)=1P(it=qi)j=1NP(ot+1,ot+2, ,oT,it=qiit+1=qj,λ)P(it+1=qj)=j=1NP(ot+1,ot+2, ,oT,it=qi,it+1=qjλ)P(it=qi)=P(ot+1,ot+2, ,
oT,it=qiλ)
P(it=qi)
=P(ot+1,ot+2, ,oT,it=qi,λ)=βt(i) \begin{aligned} &\displaystyle \sum_{j=1}^N a_{ij} b_j(o_{t+1}) \beta_{t+1}(j) \\ =&\displaystyle \sum_{j=1}^N a_{ij} P(o_{t+1}|i_{t+1}=q_j) P(o_{t+2},o_{t+3},\dotsb,o_{T}| i_{t+1}=q_j,\lambda) \\ =&\displaystyle \sum_{j=1}^N a_{ij} P(P(o_{t+1},o_{t+2},\dotsb,o_{T} | i_{t+1}=q_j,\lambda) \\ =&\displaystyle \sum_{j=1}^N P(i_{t+1}=q_j | i_t=q_i) P(o_{t+1},o_{t+2},\dotsb,o_{T} | i_{t+1}=q_j,\lambda) \\ =&\displaystyle \sum_{j=1}^N \dfrac {P(i_t=q_i | i_{t+1}=q_j)P(i_{t+1}=q_j)}{P(i_t=q_i)} P(o_{t+1},o_{t+2},\dotsb,o_{T} | i_{t+1}=q_j,\lambda)\\ =&\dfrac{1}{P(i_t=q_i)}\displaystyle \sum_{j=1}^N P(o_{t+1},o_{t+2},\dotsb,o_{T},i_t=q_i | i_{t+1}=q_j,\lambda) P(i_{t+1}=q_j)\\ =&\dfrac{\displaystyle \sum_{j=1}^NP(o_{t+1},o_{t+2},\dotsb,o_{T},i_t=q_i,i_{t+1}=q_j|\lambda)}{P(i_t=q_i)} \\ =&\dfrac{P(o_{t+1},o_{t+2},\dotsb,o_{T},i_t=q_i|\lambda)}{P(i_t=q_i)} \\ =&P(o_{t+1},o_{t+2},\dotsb,o_{T},|i_t=q_i, \lambda)\\ =&\beta_t(i) \end{aligned}

10.2.4 一些概率與期望值的計算

P(it=qi,it+1=qj,Oλ)=αt(i