Click or drag to resize
Accord.NET (logo)

BasePrincipalComponentAnalysisTransform Method (Double, Int32)

Note: This API is now obsolete.

Projects a given matrix into principal component space.

Namespace:  Accord.Statistics.Analysis.Base
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please set NumberOfOutputs to the desired number of dimensions and call Transform()")]
public virtual double[,] Transform(
	double[,] data,
	int dimensions
)
Request Example View Source

Parameters

data
Type: SystemDouble
The matrix to be projected.
dimensions
Type: SystemInt32
The number of components to consider.

Return Value

Type: Double
See Also