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
FieldsModifier and TypeFieldDescriptionstatic final SVMKernelTypestatic final SVMKernelTypestatic final SVMKernelTypestatic final SVMKernelType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSVMKernelType(String kernelName) Creates new SVMKernelType. -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]asList()Returns the names of kernelstatic SVMKernelTypeConverts 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
-