Catalano.MachineLearning.FeatureSelection
Class MeanVarianceFeatureSelection
- java.lang.Object
-
- Catalano.MachineLearning.FeatureSelection.MeanVarianceFeatureSelection
-
- All Implemented Interfaces:
- ISupervisionedFeatureSelection
public class MeanVarianceFeatureSelection extends java.lang.Object implements ISupervisionedFeatureSelection
Mean Variance feature selection.
-
-
Constructor Summary
Constructors Constructor and Description MeanVarianceFeatureSelection()Initializes a new instance of the MeanVarianceFeatureSelection class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidCompute(DatasetClassification dataset)Compute the feature selection.voidCompute(double[][] input, int[] labels)Compute the feature selection.int[]getFeatureIndex()Get the feature index.double[]getRank()Get the rank of the features.
-
-
-
Constructor Detail
-
MeanVarianceFeatureSelection
public MeanVarianceFeatureSelection()
Initializes a new instance of the MeanVarianceFeatureSelection class.
-
-
Method Detail
-
Compute
public void Compute(DatasetClassification dataset)
Description copied from interface:ISupervisionedFeatureSelectionCompute the feature selection.- Specified by:
Computein interfaceISupervisionedFeatureSelection- Parameters:
dataset- Dataset.
-
Compute
public void Compute(double[][] input, int[] labels)Description copied from interface:ISupervisionedFeatureSelectionCompute the feature selection.- Specified by:
Computein interfaceISupervisionedFeatureSelection- Parameters:
input- Input.labels- Labels.
-
getFeatureIndex
public int[] getFeatureIndex()
Description copied from interface:ISupervisionedFeatureSelectionGet the feature index.- Specified by:
getFeatureIndexin interfaceISupervisionedFeatureSelection- Returns:
- Feature index.
-
getRank
public double[] getRank()
Description copied from interface:ISupervisionedFeatureSelectionGet the rank of the features.- Specified by:
getRankin interfaceISupervisionedFeatureSelection- Returns:
-
-
DataMelt 3.0 © DataMelt by jWork.ORG