Click or drag to resize
Accord.NET (logo)

ForwardBackwardAlgorithmForwardTDistribution, TObservation Method (HiddenMarkovModelTDistribution, TObservation, TObservation, Double, Double)

Computes Forward probabilities for a given hidden Markov model and a set of observations.

Namespace:  Accord.Statistics.Models.Markov
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double[,] Forward<TDistribution, TObservation>(
	HiddenMarkovModel<TDistribution, TObservation> model,
	TObservation[] observations,
	out double[] scaling,
	out double logLikelihood
)
where TDistribution : Object, IDistribution<TObservation>
Request Example View Source

Parameters

model
Type: Accord.Statistics.Models.MarkovHiddenMarkovModelTDistribution, TObservation
observations
Type: TObservation
scaling
Type: SystemDouble
logLikelihood
Type: SystemDouble

Type Parameters

TDistribution
TObservation

Return Value

Type: Double
See Also