org.encog.ml.svm
public enum KernelType extends Enum<KernelType>
Enum Constant and Description |
---|
Linear
Linear kernel.
|
Poly
Poly kernel.
|
Precomputed
Precomputed kernel.
|
RadialBasisFunction
Radial basis function kernel.
|
Sigmoid
Sigmoid kernel.
|
Modifier and Type | Method and Description |
---|---|
static KernelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KernelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KernelType Linear
public static final KernelType Poly
public static final KernelType RadialBasisFunction
public static final KernelType Sigmoid
public static final KernelType Precomputed
public static KernelType[] values()
for (KernelType c : KernelType.values()) System.out.println(c);
public static KernelType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014. All Rights Reserved.