Click or drag to resize
Accord.NET (logo)

LinearDiscriminantAnalysisDiscriminantFunction Method

Gets the output of the discriminant function for a given class.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public override double DiscriminantFunction(
	double[] input,
	int classIndex
)
Request Example View Source

Parameters

input
Type: SystemDouble
classIndex
Type: SystemInt32

Return Value

Type: Double
See Also