Accord.NET Framework

## IHiddenMarkovModelEvaluate Method |

Calculates the probability that this model has generated the given sequence.

Syntax

Request Example
View Source#### Parameters

#### Return Value

Type: Double

The probability that the given sequence has been generated by this model.

- observations
- Type: SystemArray

A sequence of observations.

The probability that the given sequence has been generated by this model.

Remarks

Evaluation problem. Given the HMM M = (A, B, pi) and the observation
sequence O = {o1, o2, ..., oK}, calculate the probability that model
M has generated sequence O. This can be computed efficiently using the
Forward algorithm.

See Also