Class SVMKernelType

java.lang.Object
unifeat.featureSelection.EnumType
unifeat.gui.classifier.svmClassifier.SVMKernelType

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

  • Constructor Details

    • SVMKernelType

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

    • asList

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

      public static SVMKernelType parse(String type)
      Converts the kernel name to SVMKernelType
      Parameters:
      type - the name of kernel as string
      Returns:
      the SVM kernel type