Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

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: Array
A random vector of observations drawn from the model.
See Also