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: Extreme.Statistics.Multivariate
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The number of components needed to explain the requested proportion of the variance in the data.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
ArgumentOutOfRangeException | proportion is less than zero or greater than one. |
InvalidOperationException | The model has not been fitted. Call the Fit() method first. |