PrincipalComponentAnalysis.GetVarianceThreshold Method

Returns the number of components needed to explain the requested proportion of the variance in the data.

Definition

Namespace: Extreme.Statistics.Multivariate
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public int GetVarianceThreshold(
	double proportion
)

Parameters

proportion  Double
A value between 0 and 1.

Return Value

Int32
The number of components needed to explain the requested proportion of the variance in the data.

Exceptions

ArgumentOutOfRangeExceptionproportion is less than zero or greater than one.
InvalidOperationExceptionThe model has not been fitted. Call the Fit() method first.

See Also