Click or drag to resize
Accord.NET (logo)

HiddenMarkovModelTDistributionPredict Method (Double, Double)

Predicts the next observation occurring after a given observation sequence.

Namespace:  Accord.Statistics.Models.Markov
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
public double Predict(
	double[] observations,
	out double logLikelihood
Request Example View Source


Type: SystemDouble
A sequence of observations. Predictions will be made regarding the next observations that should be coming after the last observation in this sequence.
Type: SystemDouble
The log-likelihood of the given sequence, plus the predicted next observation. Exponentiate this value (use the System.Math.Exp function) to obtain a likelihood value.

Return Value

Type: Double
See Also