Click or drag to resize
Accord.NET (logo)

HiddenMarkovModelTDistributionEvaluate Method (Array)

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

Namespace:  Accord.Statistics.Models.Markov
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double Evaluate(
	Array observations
)
Request Example View Source

Parameters

observations
Type: SystemArray
A sequence of observations.

Return Value

Type: Double
The log-likelihood that the given sequence has been generated by this model.

Implements

IHiddenMarkovModelEvaluate(Array)
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