Click or drag to resize
Accord.NET (logo)

KernelDiscriminantAnalysis Constructor (Double, Int32, IKernel)

Note: This API is now obsolete.

Constructs a new Kernel 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 KernelDiscriminantAnalysis(
	double[,] inputs,
	int[] output,
	IKernel kernel
)
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.
output
Type: SystemInt32
The labels for each observation row in the input matrix.
kernel
Type: Accord.Statistics.KernelsIKernel
The kernel to be used in the analysis.
See Also