javax.datamining.algorithm.svm
Class KernelFunction
java.lang.Object
|
+--javax.datamining.Enum
|
+--javax.datamining.algorithm.svm.KernelFunction
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class KernelFunction
- extends Enum
The enumeration KernelFunction is
used by the support vector machine (SVM) mining
algorithm. SVM belongs to a class of algorithms
known as kernel methods. Kernel methods rely on
applying kernel functions to the input data.
- Author:
- JSR-73 Java Data Mining Expert Group
- See Also:
- Serialized Form
|
Method Summary |
static void |
addExtension(java.lang.String name)
Adds a vendor extension name to KernelFunction. |
static KernelFunction |
valueOf(java.lang.String name)
Returns an instance of KernelFunction corresponding to the specified name. |
static KernelFunction[] |
values()
Returns a list of all KernelFunction enumerations defined. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hypertangent
public static final KernelFunction hypertangent
kGaussian
public static final KernelFunction kGaussian
kLinear
public static final KernelFunction kLinear
polynomial
public static final KernelFunction polynomial
sigmoid
public static final KernelFunction sigmoid
systemDefault
public static final KernelFunction systemDefault
systemDetermined
public static final KernelFunction systemDetermined
addExtension
public static void addExtension(java.lang.String name)
throws JDMException
- Adds a vendor extension
name to KernelFunction.
- Parameters:
name - The name of the unique vendor extension
- Throws:
JDMException - When name is an invalid string or redundant to existing standard enums.
valueOf
public static KernelFunction valueOf(java.lang.String name)
throws JDMException
- Returns an instance of
KernelFunction corresponding to the specified name.
- Parameters:
name - The name of the enumeration value
- Returns:
KernelFunction - The instance of the specified enumeration.
- Throws:
JDMException - When name is not valid.
values
public static KernelFunction[] values()
- Returns a list of all
KernelFunction enumerations defined.
- Returns:
KernelFunction[]