Principal Component Analysis.Get Eigenvalue Threshold Method
Returns the number of components to retain
based on whether the corresponding eigenvalues
are greater than the specified value.
Definition
Namespace: Extreme.Statistics.Multivariate
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The number of components to retain based on whether the corresponding eigenvalues are greater than minimum.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
Int32The 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. |