RSS
热门关键字:  数据挖掘  数据仓库  商业智能  搜索引擎  人工智能

前向算法定义(Forward Algorithm)

来源: 作者:unkonwn 时间:2004-11-29 点击:

Forward algorithm definition

We use the forward algorithm to calculate the probability of a T long observation sequence;

  数据挖掘研究院

[Formula]

where each of the y is one of the observable set. Intermediate probabilities (a′s) are calculated recursively by first calculating a for all states at t=1.

数据挖掘研究院

  数据挖掘研究院

[Formula]
Then for each time step, t = 2, ..., T, the partial probability a is calculated for each state;

  数据挖掘研究院

[Formula]

that is, the product of the appropriate observation probability and the sum over all possible routes to that state, exploiting recursion by knowing these values already for the previous time step.

Finally the sum of all partial probabilities gives the probability of the observation, given the HMM, l.

 

[Formula]

To recap, each partial probability (at time t > 2) is calculated from all the previous states.

数据挖掘研究院

Using the `weather′ example, the diagram below shows the calculation for a at t = 2 for the cloudy state. This is the product of the appropriate observation probability b and the sum of the previous partial probabilities multiplied by the transition probabilities a.

最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
匿名?