public static enum KernelSVMOptions.KernelEnum extends Enum<KernelSVMOptions.KernelEnum>
Enum Constant and Description |
---|
LINEAR |
POLYNOMIAL |
RBF |
SIGMOID |
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
public static final KernelSVMOptions.KernelEnum POLYNOMIAL
public static final KernelSVMOptions.KernelEnum SIGMOID
public static final KernelSVMOptions.KernelEnum RBF
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.