Accord.NET Framework

## HiddenMarkovModelTDistributionEvaluate Method (Array) |

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

Syntax

Request Example
View Source#### Parameters

#### Return Value

Type: Double

The log-likelihood that the given sequence has been generated by this model.#### Implements

IHiddenMarkovModelEvaluate(Array)

- observations
- Type: SystemArray

A sequence of observations.

The log-likelihood 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
either the Viterbi or the Forward algorithms.

See Also