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: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The number of components to retain based on whether the corresponding eigenvalues are greater than minimum.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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
Invalid | The model has not been fitted. Call the Fit() method first. |
Argument | minimum is less than zero. |