Click or drag to resize
Accord.NET (logo)

Custom Constructor (Double, Double, Boolean)

Creates a new custom topology with user-defined transition matrix and initial state probabilities.

Namespace:  Accord.Statistics.Models.Markov.Topology
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public Custom(
	double[][] transitions,
	double[] initial,
	bool logarithm
)
Request Example View Source

Parameters

transitions
Type: SystemDouble
The transition probabilities for the model.
initial
Type: SystemDouble
The initial probabilities for the model.
logarithm
Type: SystemBoolean
Set to true if the passed transitions are given in log-probabilities. Default is false (given values are probabilities).
See Also