Click or drag to resize
Accord.NET (logo)

LinearDiscriminantAnalysis Constructor (Double, Int32)

Note: This API is now obsolete.

Constructs a new Linear Discriminant Analysis object.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please pass the 'inputs' and 'outputs' parameters to the Learn method instead.")]
public LinearDiscriminantAnalysis(
	double[,] inputs,
	int[] outputs
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
The source data to perform analysis. The matrix should contain variables as columns and observations of each variable as rows.
outputs
Type: SystemInt32
The labels for each observation row in the input matrix.
See Also