Class WrapperType

java.lang.Object
unifeat.featureSelection.EnumType
unifeat.featureSelection.wrapper.WrapperType

public class WrapperType extends EnumType
This java class is used to define the names of wrapper-based feature selection methods.
Author:
Sina Tabakhi
See Also:
  • Field Details

  • Constructor Details

    • WrapperType

      private WrapperType(String name)
      Creates new WrapperType. This method is called from within the constructor to initialize the parameter.
      Parameters:
      name - the name of wrapper method
  • Method Details

    • asList

      public static String[] asList()
      Returns the names of wrapper-based feature selection methods
      Returns:
      an array of names of methods
    • parse

      public static WrapperType parse(String type)
      Converts the wrapper method name to WrapperType
      Parameters:
      type - the name of wrapper method as string
      Returns:
      the wrapper method type
    • isWrapperMethod

      public static boolean isWrapperMethod(String type)
      Checks whether the method is wrapper-based feature selection method or not
      Parameters:
      type - the name of feature selection method
      Returns:
      true if method is wrapper-based method