Click or drag to resize
Accord.NET (logo)

FeatureBaseTCompute Method (Int32, T, 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 virtual double Compute(
	int[] states,
	T[] observations,
	int output
)
Request Example View Source

Parameters

states
Type: SystemInt32
The sequence of states.
observations
Type: T
The sequence of observations.
output
Type: SystemInt32
The output class label for the sequence.

Return Value

Type: Double
The result of the feature.
See Also