public static class PrincipalComponentAnalysis.EnergyThresholdComponentSelector extends Object implements PrincipalComponentAnalysis.ComponentSelector
PrincipalComponentAnalysis.ComponentSelector
that selects a subset of the principal
components such that all remaining components have a cumulative energy
less than the given value.Constructor and Description |
---|
EnergyThresholdComponentSelector(double threshold)
Construct with the given threshold
|
Modifier and Type | Method and Description |
---|---|
void |
select(PrincipalComponentAnalysis pca)
Select a subset of principal components, discarding the ones not
selected
|
public EnergyThresholdComponentSelector(double threshold)
threshold
- the thresholdpublic void select(PrincipalComponentAnalysis pca)
PrincipalComponentAnalysis.ComponentSelector
select
in interface PrincipalComponentAnalysis.ComponentSelector