|
HiddenMarkovModelTDistributionPredict Method (Double, Int32, Double)
|
Predicts the next observations occurring after a given observation sequence.
Namespace:
Accord.Statistics.Models.Markov
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public double[][] Predict(
double[][] observations,
int next,
out double logLikelihood
)
Public Function Predict (
observations As Double()(),
next As Integer,
<OutAttribute> ByRef logLikelihood As Double
) As Double()()
Request Example
View SourceParameters
- observations
- 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. - next
- Type: SystemInt32
The number of observations to be predicted. Default is 1. - logLikelihood
- 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:
DoubleSee Also