public class MeanVarianceFeatureSelection extends java.lang.Object implements ISupervisionedFeatureSelection
| Constructor and Description |
|---|
MeanVarianceFeatureSelection()
Initializes a new instance of the MeanVarianceFeatureSelection class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Compute(DatasetClassification dataset)
Compute the feature selection.
|
void |
Compute(double[][] input,
int[] labels)
Compute the feature selection.
|
int[] |
getFeatureIndex()
Get the feature index.
|
double[] |
getRank()
Get the rank of the features.
|
public MeanVarianceFeatureSelection()
public void Compute(DatasetClassification dataset)
ISupervisionedFeatureSelectionCompute in interface ISupervisionedFeatureSelectiondataset - Dataset.public void Compute(double[][] input,
int[] labels)
ISupervisionedFeatureSelectionCompute in interface ISupervisionedFeatureSelectioninput - Input.labels - Labels.public int[] getFeatureIndex()
ISupervisionedFeatureSelectiongetFeatureIndex in interface ISupervisionedFeatureSelectionpublic double[] getRank()
ISupervisionedFeatureSelectiongetRank in interface ISupervisionedFeatureSelection