|
HiddenMarkovModelTDistributionPredictTUnivariate Method (Double, MixtureTUnivariate)
|
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
Syntax public double Predict<TUnivariate>(
double[] observations,
out Mixture<TUnivariate> probabilities
)
where TUnivariate : DistributionBase, TDistribution, IUnivariateDistribution<double>
Public Function Predict(Of TUnivariate As {DistributionBase, TDistribution, IUnivariateDistribution(Of Double)}) (
observations As Double(),
<OutAttribute> ByRef probabilities As Mixture(Of TUnivariate)
) 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. - probabilities
- Type: Accord.Statistics.Distributions.UnivariateMixtureTUnivariate
The continuous probability distribution describing the next observations
that are likely to be generated. Taking the mode of this distribution might give the most likely
next value in the observed sequence.
Type Parameters
- TUnivariate
Return Value
Type:
DoubleSee Also