public class PrincipalComponentFeatureSelection extends java.lang.Object implements IUnsupervisionedFeatureSelection
| Constructor and Description |
|---|
PrincipalComponentFeatureSelection()
Initializes a new instance of the PrincipalComponentFeatureSelection class.
|
PrincipalComponentFeatureSelection(double percentage)
Initializes a new instance of the PrincipalComponentFeatureSelection class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Compute(double[][] input)
Compute feature selection.
|
int[] |
getFeatureIndex()
Get the feature index.
|
double |
getPercentage()
Get the percentage.
|
double[] |
getRank()
Get the rank of the features.
|
void |
setPercentage(double p)
Set the percentage.
|
public PrincipalComponentFeatureSelection()
public PrincipalComponentFeatureSelection(double percentage)
percentage - Percentangepublic double getPercentage()
public void setPercentage(double p)
p - Percentage.public double[] getRank()
IUnsupervisionedFeatureSelectiongetRank in interface IUnsupervisionedFeatureSelectionpublic int[] getFeatureIndex()
IUnsupervisionedFeatureSelectiongetFeatureIndex in interface IUnsupervisionedFeatureSelectionpublic void Compute(double[][] input)
IUnsupervisionedFeatureSelectionCompute in interface IUnsupervisionedFeatureSelectioninput - Input.