Class RRFS
java.lang.Object
unifeat.featureSelection.FeatureSelection
unifeat.featureSelection.filter.FilterApproach
unifeat.featureSelection.filter.supervised.RRFS
This java class is used to implement the relevance-redundancy feature
selection(RRFS) method. Also, it is the supervised version of the RRFS.
- Author:
- Sina Tabakhi
- See Also:
-
Field Summary
Fields inherited from class unifeat.featureSelection.FeatureSelection
numClass, numFeatures, numSelectedFeature, selectedFeatureSubset, trainSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Starts the feature selection process by relevance-redundancy feature selection(RRFS) methodMethods inherited from class unifeat.featureSelection.filter.FilterApproach
newMethod
Methods inherited from class unifeat.featureSelection.FeatureSelection
getSelectedFeatureSubset, loadDataSet, loadDataSet, setNumSelectedFeature, validate
-
Constructor Details
-
RRFS
Initializes the parameters- Parameters:
arguments
- array of parameters contains (sizeSelectedFeatureSubset
,maxSimilarity
) in whichsizeSelectedFeatureSubset
is the number of selected features, andmaxSimilarity
is maximum allowed similarity between two features
-
RRFS
public RRFS(int sizeSelectedFeatureSubset, double maxSimilarity) Initializes the parameters- Parameters:
sizeSelectedFeatureSubset
- the number of selected featuresmaxSimilarity
- maximum allowed similarity between two features
-
-
Method Details
-
evaluateFeatures
public void evaluateFeatures()Starts the feature selection process by relevance-redundancy feature selection(RRFS) method- Specified by:
evaluateFeatures
in classFeatureSelection
-