forward: Forward algorithm

Description Usage Arguments Value

View source: R/bw.R

Description

Calculates the probability of the next emission, using the computed probability of the current emission

Usage

1
forward(obs, transition, E)

Arguments

obs

Vector of visible observations

transition

Transition matrix, columns must sum 1

E

Emission matrix, rows must sum 1

Value

alpha matrix of probabilities of being in a certain state for each step


arr15334/BaumWelch documentation built on Jan. 23, 2022, 1:30 a.m.