PrincipalComponentAnalysis.GetVarianceThreshold Method

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

Definition

Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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

ArgumentOutOfRangeException

proportion is less than zero or greater than one.

InvalidOperationException

The model has not been fitted. Call the Fit() method first.

See Also