public static class PrincipalComponentAnalysis.NumberComponentSelector extends Object implements PrincipalComponentAnalysis.ComponentSelector
PrincipalComponentAnalysis.ComponentSelector
that selects the n-best components.Constructor and Description |
---|
NumberComponentSelector(int n)
Construct with the number of components required
|
Modifier and Type | Method and Description |
---|---|
void |
select(PrincipalComponentAnalysis pca)
Select a subset of principal components, discarding the ones not
selected
|
public NumberComponentSelector(int n)
n
- the number of componentspublic void select(PrincipalComponentAnalysis pca)
PrincipalComponentAnalysis.ComponentSelector
select
in interface PrincipalComponentAnalysis.ComponentSelector