Click or drag to resize
Accord.NET (logo)

FeatureBaseTCompute Method (Int32, Int32, T, 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 abstract double Compute(
	int previousState,
	int currentState,
	T[] observations,
	int observationIndex,
	int outputClass
)
Request Example View Source

Parameters

previousState
Type: SystemInt32
The previous state.
currentState
Type: SystemInt32
The current state.
observations
Type: T
The observations.
observationIndex
Type: SystemInt32
The index of the current observation.
outputClass
Type: SystemInt32
The output class label for the sequence.

Return Value

Type: Double
See Also