|
MultivariateFirstMomentFeatureCompute Method (Int32, Int32, Double, Int32, Int32)
|
Computes the feature for the given parameters.
Namespace:
Accord.Statistics.Models.Fields.Features
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public override double Compute(
int previousState,
int currentState,
double[][] observations,
int observationIndex,
int outputClass = 0
)
Public Overrides Function Compute (
previousState As Integer,
currentState As Integer,
observations As Double()(),
observationIndex As Integer,
Optional outputClass As Integer = 0
) As Double
Request Example
View SourceParameters
- previousState
- Type: SystemInt32
The previous state. - currentState
- Type: SystemInt32
The current state. - observations
- Type: SystemDouble
The observations. - observationIndex
- Type: SystemInt32
The index of the current observation. - outputClass (Optional)
- Type: SystemInt32
The output class label for the sequence.
Return Value
Type:
DoubleImplements
IFeatureTObservationCompute(Int32, Int32, TObservation, Int32, Int32)See Also