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

Viterbi算法定义( Viterbi algorithm definition)

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

 

1. Formal definition of algorithm

The algorithm may be summarised formally as:

For each i,, i = 1, ... , n, let : 数据挖掘研究院

 

[Formula]

- this intialises the probability calculations by taking the product of the intitial hidden state probabilities with the associated observation probabilities. 数据挖掘研究院

For t = 2, ..., T, and i = 1, ... , n let :

数据挖掘研究院

  数据挖掘研究院

[Formula]

- thus determining the most probable route to the next state, and remembering how to get there. This is done by considering all products of transition probabilities with the maximal probabilities already derived for the preceding step. The largest such is remembered, together with what provoked it.

Let : 数据挖掘研究院

  数据挖掘研究院

[Formula]

- thus determining which state at system completion (t=T) is the most probable. 数据挖掘研究院

For t = T - 1, ..., 1 数据挖掘实验室

Let : 数据挖掘研究院

  数据挖掘研究院

[Formula]

- thus backtracking through the trellis, following the most probable route. On completion, the sequence i1 ... iT will hold the most probable sequence of hidden states for the observation sequence in hand.

2. Calculating individual d′s and f′s

The calculation of d′s is similar to the calculation of partial probability (a′s) in the forward algorithm. Compare this diagram showing d′s and f′s being calculated with the diagram at the end of section 2 under the forward algorithm.

[Picture]
The only difference is that the summation ( S ) in the forward algorithm is replaced with max to calculate the d′s - this important difference picks out the most likely route to the current position, rather than the total probability. We also, for the Viterbi algorithm remember the best route to the current position by maintaining a `back-pointer′, via the argmax calculation of the f′s.

资料全文下载

数据挖掘研究院

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