|
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
)
<ObsoleteAttribute("Please pass the 'data' matrix to the Learn method instead.")>
Public Sub New (
data As Double(,),
Optional method As AnalysisMethod = AnalysisMethod.Center
)
Request Example
View SourceParameters
- 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