|
HiddenMarkovModelCreateGeneric Method (Double, Double, Double, Boolean)
|
Note: This API is now obsolete.
Constructs a new discrete-density Hidden Markov Model.
Namespace:
Accord.Statistics.Models.Markov
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use CreateDiscrete() instead.")]
public static HiddenMarkovModel<GeneralDiscreteDistribution> CreateGeneric(
double[,] transitions,
double[,] emissions,
double[] probabilities,
bool logarithm = false
)
<ObsoleteAttribute("Please use CreateDiscrete() instead.")>
Public Shared Function CreateGeneric (
transitions As Double(,),
emissions As Double(,),
probabilities As Double(),
Optional logarithm As Boolean = false
) As HiddenMarkovModel(Of GeneralDiscreteDistribution)
Request Example
View SourceParameters
- transitions
- Type: SystemDouble
The transitions matrix A for this model. - emissions
- Type: SystemDouble
The emissions matrix B for this model. - probabilities
- Type: SystemDouble
The initial state probabilities for this model. - logarithm (Optional)
- Type: SystemBoolean
Set to true if the matrices are given with logarithms of the
intended probabilities; set to false otherwise. Default is false.
Return Value
Type:
HiddenMarkovModelGeneralDiscreteDistributionSee Also