Click or drag to resize
Accord.NET (logo)

MarkovDiscreteFactor Constructor

Creates a new factor (clique) potential function.

Namespace:  Accord.Statistics.Models.Fields.Functions.Specialized
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public MarkovDiscreteFactor(
	IPotentialFunction<int> owner,
	int states,
	int factorIndex,
	int symbols,
	int edgeIndex,
	int edgeCount,
	int stateIndex,
	int stateCount,
	int classIndex = 0,
	int classCount = 0
)
Request Example View Source

Parameters

owner
Type: Accord.Statistics.Models.Fields.FunctionsIPotentialFunctionInt32
The owner IPotentialFunctionT.
states
Type: SystemInt32
The number of states in this clique potential.
factorIndex
Type: SystemInt32
The index of this factor potential in the owner.
symbols
Type: SystemInt32
The number of symbols in the discrete alphabet.
edgeIndex
Type: SystemInt32
The index of the first edge feature in the owner's parameter vector.
edgeCount
Type: SystemInt32
The number of edge features in this factor.
stateIndex
Type: SystemInt32
The index of the first state feature in the owner's parameter vector.
stateCount
Type: SystemInt32
The number of state features in this factor.
classIndex (Optional)
Type: SystemInt32
The index of the first class label feature in the owner's parameter vector.
classCount (Optional)
Type: SystemInt32
The number of class label features in this factor.
See Also