Click or drag to resize
Accord.NET (logo)

MarkovIndependentFactor 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 MarkovIndependentFactor(
	IPotentialFunction<double[]> owner,
	int states,
	int factorIndex,
	int[][] stateTable,
	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.FunctionsIPotentialFunctionDouble
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.
stateTable
Type: SystemInt32
The lookup table of states where the independent distributions begin.
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