50
правок
Изменения
→Псевдокод
== Псевдокод ==
'''DynamicObservationSequanceProbality'''(<tex>\lambda</tex>, D):
a[1, i] = <tex>\pi</tex>[i]*b[i, d[1]]
'''for''' t = 2 '''to''' T
'''for''' i = 1 '''to''' n
a[t, j] += a[t, i]*a[i, j]
a[t, j] *= b[j, d[t + 1]]
'''for''' i = 1 '''to''' n
p(D|<tex>\lambda</tex>) += a[T, i]
== Применение ==
== Источники ==