public class GainRatio extends WeightedFilterApproach
This java class is used to implement the gain ratio method.
Author:
Sina Tabakhi
See Also:
  • Constructor Details

    • GainRatio

      public GainRatio(Object... arguments)
      Initializes the parameters
      Parameters:
      arguments - array of parameters contains (sizeSelectedFeatureSubset) in which sizeSelectedFeatureSubset is the number of selected features
    • GainRatio

      public GainRatio(int sizeSelectedFeatureSubset)
      Initializes the parameters
      Parameters:
      sizeSelectedFeatureSubset - the number of selected features
  • Method Details

    • evaluateFeatures

      public void evaluateFeatures()
      Starts the feature selection process by gain ratio(GR) method
      Specified by:
      evaluateFeatures in class FeatureSelection