Package unifeat.featureSelection
Class FeatureWeighting
java.lang.Object
unifeat.featureSelection.FeatureSelection
unifeat.featureSelection.FeatureWeighting
- Direct Known Subclasses:
- WeightedFilterApproach
The abstract class contains the main methods and fields that are used in all
 feature weighting methods. This class inherits from FeatureSelection class.
- Author:
- Sina Tabakhi
- See Also:
- 
Field SummaryFieldsFields inherited from class unifeat.featureSelection.FeatureSelectionnumClass, numFeatures, numSelectedFeature, selectedFeatureSubset, trainSet
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondouble[]This method returns the weights of features computed by the feature weighting method.Methods inherited from class unifeat.featureSelection.FeatureSelectionevaluateFeatures, getSelectedFeatureSubset, loadDataSet, loadDataSet, setNumSelectedFeature, validate
- 
Field Details- 
featureValuesprotected double[] featureValues
 
- 
- 
Constructor Details- 
FeatureWeightingpublic FeatureWeighting()Initializes the parameters
 
- 
- 
Method Details- 
getFeatureValuespublic double[] getFeatureValues()This method returns the weights of features computed by the feature weighting method.- Returns:
- an array of weights of features
 
 
-