Click or drag to resize
Accord.NET (logo)

PrincipalComponentAnalysisReduce Method

Reduces the dimensionality of a given matrix x to the given number of dimensions.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double[][] Reduce(
	double[][] x,
	int dimensions
)
Request Example View Source

Parameters

x
Type: SystemDouble
The matrix that should have its dimensionality reduced.
dimensions
Type: SystemInt32
The number of dimensions for the reduced matrix.

Return Value

Type: Double
See Also