Click or drag to resize
Accord.NET (logo)

PrincipalComponentAnalysis Constructor (Double, AnalysisMethod)

Note: This API is now obsolete.

Constructs a new Principal Component Analysis.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please pass the 'data' matrix to the Learn method instead.")]
public PrincipalComponentAnalysis(
	double[,] data,
	AnalysisMethod method = AnalysisMethod.Center
)
Request Example View Source

Parameters

data
Type: SystemDouble
The source data to perform analysis. The matrix should contain variables as columns and observations of each variable as rows.
method (Optional)
Type: Accord.Statistics.AnalysisAnalysisMethod
The analysis method to perform. Default is Center.
See Also