|
MarkovNormalFactor 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
Syntaxpublic MarkovNormalFactor(
IPotentialFunction<double> owner,
int states,
int factorIndex,
int edgeIndex,
int edgeCount,
int stateIndex,
int stateCount,
int classIndex = 0,
int classCount = 0
)
Public Sub New (
owner As IPotentialFunction(Of Double),
states As Integer,
factorIndex As Integer,
edgeIndex As Integer,
edgeCount As Integer,
stateIndex As Integer,
stateCount As Integer,
Optional classIndex As Integer = 0,
Optional classCount As Integer = 0
)
Request Example
View SourceParameters
- 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. - 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