Class RSM
java.lang.Object
unifeat.featureSelection.FeatureSelection
unifeat.featureSelection.filter.FilterApproach
unifeat.featureSelection.filter.unsupervised.RSM
This java class is used to implement the random subspace method(RSM) method.
- Author:
- Sina Tabakhi
- See Also:
-
Field Summary
Fields inherited from class unifeat.featureSelection.FeatureSelection
numClass, numFeatures, numSelectedFeature, selectedFeatureSubset, trainSet
-
Constructor Summary
ConstructorDescriptionRSM
(int sizeSelectedFeatureSubset, int numIter, int size, int threshold, MultivariateMethodType nameApproach) Initializes the parametersInitializes the parameters -
Method Summary
Modifier and TypeMethodDescriptionvoid
Starts the feature selection process by random subspace method(RSM)validate()
This method returns the potential errors in the input parameters.Methods inherited from class unifeat.featureSelection.filter.FilterApproach
newMethod
Methods inherited from class unifeat.featureSelection.FeatureSelection
getSelectedFeatureSubset, loadDataSet, loadDataSet, setNumSelectedFeature
-
Constructor Details
-
RSM
Initializes the parameters- Parameters:
arguments
- array of parameters contains (sizeSelectedFeatureSubset
,numIter
,size
,threshold
,nameApproach
) in whichsizeSelectedFeatureSubset
is the number of selected features,numIter
is the number of iteration in the RSM method,size
is the size of the subspace,threshold
is the number of selected features in each subspace, andnameApproach
is the name of the multivariate approach used in the RSM
-
RSM
public RSM(int sizeSelectedFeatureSubset, int numIter, int size, int threshold, MultivariateMethodType nameApproach) Initializes the parameters- Parameters:
sizeSelectedFeatureSubset
- the number of selected featuresnumIter
- the number of iteration in the RSM methodsize
- the size of the subspacethreshold
- the number of selected features in each subspacenameApproach
- the name of the multivariate approach used in the RSM
-
-
Method Details
-
evaluateFeatures
public void evaluateFeatures()Starts the feature selection process by random subspace method(RSM)- Specified by:
evaluateFeatures
in classFeatureSelection
-
validate
This method returns the potential errors in the input parameters.- Overrides:
validate
in classFeatureSelection
- Returns:
- a string contains the information about incorrect parameters
-