|
HiddenMarkovModelTDistributionGenerate Method (Int32, Int32, Double)
|
Generates a random vector of observations from the model.
Namespace:
Accord.Statistics.Models.Markov
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public Array Generate(
int samples,
out int[] path,
out double logLikelihood
)
Public Function Generate (
samples As Integer,
<OutAttribute> ByRef path As Integer(),
<OutAttribute> ByRef logLikelihood As Double
) As Array
Request Example
View SourceParameters
- samples
- Type: SystemInt32
The number of samples to generate. - path
- Type: SystemInt32
The Viterbi path of the generated observation sequence. - logLikelihood
- Type: SystemDouble
The log-likelihood of the generated observation sequence.
Return Value
Type:
ArrayA random vector of observations drawn from the model.
See Also