PrincipalComponentAnalysis.GetEigenvalueThreshold Method

Returns the number of components to retain based on whether the corresponding eigenvalues are greater than the specified value.

Definition

Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public int GetEigenvalueThreshold(
	double minimum = 1
)

Parameters

minimum  Double  (Optional)
Optional. The smallest value the eigenvalue for a component may have for the component to be retained. The default value is 1.

Return Value

Int32
The number of components to retain based on whether the corresponding eigenvalues are greater than minimum.

Exceptions

InvalidOperationException

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

ArgumentOutOfRangeException

minimum is less than zero.

See Also