Click or drag to resize
Accord.NET (logo)

PrincipalComponentAnalysis Constructor (PrincipalComponentMethod, Boolean, Int32)

Constructs a new Principal Component Analysis.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
public PrincipalComponentAnalysis(
	PrincipalComponentMethod method = PrincipalComponentMethod.Center,
	bool whiten = false,
	int numberOfOutputs = 0
Request Example View Source


method (Optional)
Type: Accord.Statistics.AnalysisPrincipalComponentMethod
The analysis method to perform. Default is Center.
whiten (Optional)
Type: SystemBoolean
Whether to whiten the results or not. If set to true the generatred output will be normalized to have unit standard deviation.
numberOfOutputs (Optional)
Type: SystemInt32
The maximum number of components that the analysis will be able to project data into.
See Also