Click or drag to resize
Accord.NET (logo)

BasePrincipalComponentAnalysisGetNumberOfComponents Method

Returns the minimal number of principal components required to represent a given percentile of the data.

Namespace:  Accord.Statistics.Analysis.Base
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
public int GetNumberOfComponents(
	double threshold
Request Example View Source


Type: SystemDouble
The percentile of the data requiring representation.

Return Value

Type: Int32
The minimal number of components required.
See Also