public static enum KernelSVMOptions.KernelEnum extends Enum<KernelSVMOptions.KernelEnum>
Enum Constant and Description |
---|
LINEAR
Uses a
Linear kernel. |
POLYNOMIAL
Uses a
Polynomial kernel. |
RBF
Uses an
RBF kernel. |
SIGMOID
Uses a
Sigmoid kernel. |
Modifier and Type | Method and Description |
---|---|
static KernelSVMOptions.KernelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KernelSVMOptions.KernelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KernelSVMOptions.KernelEnum LINEAR
Linear
kernel.public static final KernelSVMOptions.KernelEnum POLYNOMIAL
Polynomial
kernel.public static final KernelSVMOptions.KernelEnum SIGMOID
Sigmoid
kernel.public static final KernelSVMOptions.KernelEnum RBF
RBF
kernel.public static KernelSVMOptions.KernelEnum[] values()
for (KernelSVMOptions.KernelEnum c : KernelSVMOptions.KernelEnum.values()) System.out.println(c);
public static KernelSVMOptions.KernelEnum 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 © 2015–2021 Oracle and/or its affiliates. All rights reserved.