Class SVMKernelType
java.lang.Object
unifeat.featureSelection.EnumType
unifeat.gui.classifier.svmClassifier.SVMKernelType
This java class is used to define the names of kernel used in SVM.
- Author:
- Sina Tabakhi
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SVMKernelType
static final SVMKernelType
static final SVMKernelType
static final SVMKernelType
-
Constructor Summary
ModifierConstructorDescriptionprivate
SVMKernelType
(String kernelName) Creates new SVMKernelType. -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
asList()
Returns the names of kernelstatic SVMKernelType
Converts the kernel name to SVMKernelType
-
Field Details
-
NONE
-
POLYNOMIAL
-
RBF
-
PEARSON_VII
-
-
Constructor Details
-
SVMKernelType
Creates new SVMKernelType. This method is called from within the constructor to initialize the parameter.- Parameters:
kernelName
- the name of kernel
-
-
Method Details
-
asList
Returns the names of kernel- Returns:
- an array of names of kernel
-
parse
Converts the kernel name to SVMKernelType- Parameters:
type
- the name of kernel as string- Returns:
- the SVM kernel type
-