Click or drag to resize
Accord.NET (logo)

PrincipalComponentAnalysisFromCovarianceMatrix Method

Constructs a new Principal Component Analysis from a Covariance matrix.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static PrincipalComponentAnalysis FromCovarianceMatrix(
	double[] mean,
	double[,] covariance
)
Request Example View Source

Parameters

mean
Type: SystemDouble
The mean vector for the source data.
covariance
Type: SystemDouble
The covariance matrix of the data.

Return Value

Type: PrincipalComponentAnalysis
Remarks
This method may be more suitable to high dimensional problems in which the original data matrix may not fit in memory but the covariance matrix will.
See Also