Principal Component Analysis.Get Variance Threshold 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#
The number of components needed to explain the requested proportion of the variance in the data.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public int GetVarianceThreshold(
double proportion
)
Parameters
- proportion Double
- A value between 0 and 1.
Return Value
Int32The number of components needed to explain the requested proportion of the variance in the data.
Exceptions
Argument | proportion is less than zero or greater than one. |
Invalid | The model has not been fitted. Call the Fit() method first. |