Class ClassifierType

java.lang.Object
unifeat.featureSelection.EnumType
unifeat.classifier.ClassifierType

public final class ClassifierType extends EnumType
This java class is used to define the names of classifiers.
Author:
Sina Tabakhi
See Also:
  • Field Details

  • Constructor Details

    • ClassifierType

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

      private ClassifierType(String name, int value)
      Creates new ClassifierType. This method is called from within the constructor to initialize the parameter.
      Parameters:
      name - the name of classifier
      value - the value of classifier
  • Method Details

    • asList

      public static String[] asList()
      Returns the names of classifiers
      Returns:
      an array of names of classifiers
    • parse

      public static ClassifierType parse(String type)
      Converts the classifier name to ClassifierType
      Parameters:
      type - the name of classifier as string
      Returns:
      the classifier type