| DoublePCAThreshold Method |
Gets the number of principal components required to account for the given
proportion of the total variance.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public int Threshold(
double varianceProportion
)
Public Function Threshold (
varianceProportion As Double
) As Integer
public:
int Threshold(
double varianceProportion
)
member Threshold :
varianceProportion : float -> int
Parameters
- varianceProportion Double
- A variance proportion between 0 and 1.
Return Value
Int32
The number of the principal components whose cumulative proportion
of the variance is greater than or equal to the given value.
Exceptions Exception | Condition |
---|
InvalidArgumentException | Thrown if the given proportion
of total variance is less than 0 or greater than 1. |
See Also