|
PotentialFunctionBaseTGetFeatureVector Method
|
Computes the factor potential function for the given parameters.
Namespace:
Accord.Statistics.Models.Fields.Functions
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntaxpublic virtual double[] GetFeatureVector(
int[] states,
T[] observations,
int output = 0
)
Public Overridable Function GetFeatureVector (
states As Integer(),
observations As T(),
Optional output As Integer = 0
) As Double()
Request Example
View SourceParameters
- states
- Type: SystemInt32
A state sequence. - observations
- Type: T
A sequence of observations. - output (Optional)
- Type: SystemInt32
The output class label for the sequence.
Return Value
Type:
DoubleThe value of the factor potential function evaluated for the given parameters.
See Also