Click or drag to resize
Accord.NET (logo)

HiddenMarkovModelTDistribution, TObservationEvaluate Method (TObservation)

Note: This API is now obsolete.

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
[ObsoleteAttribute("Please set Algorithm to Forward and call LogLikelihood() instead.")]
public double Evaluate(
	TObservation[] observations
)
Request Example View Source

Parameters

observations
Type: TObservation
A sequence of observations.

Return Value

Type: Double
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