public static enum SupportVectorMachineModel.ClassificationMethod extends Enum<SupportVectorMachineModel.ClassificationMethod> implements StringValue<SupportVectorMachineModel.ClassificationMethod>
| Enum Constant and Description |
|---|
ONE_AGAINST_ALL |
ONE_AGAINST_ONE |
| Modifier and Type | Method and Description |
|---|---|
static SupportVectorMachineModel.ClassificationMethod |
fromValue(String v) |
String |
toString() |
String |
value() |
static SupportVectorMachineModel.ClassificationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportVectorMachineModel.ClassificationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportVectorMachineModel.ClassificationMethod ONE_AGAINST_ALL
public static final SupportVectorMachineModel.ClassificationMethod ONE_AGAINST_ONE
public static SupportVectorMachineModel.ClassificationMethod[] values()
for (SupportVectorMachineModel.ClassificationMethod c : SupportVectorMachineModel.ClassificationMethod.values()) System.out.println(c);
public static SupportVectorMachineModel.ClassificationMethod 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 nullpublic String value()
value in interface StringValue<SupportVectorMachineModel.ClassificationMethod>public static SupportVectorMachineModel.ClassificationMethod fromValue(String v)
public String toString()
toString in class Enum<SupportVectorMachineModel.ClassificationMethod>Copyright © 2024. All rights reserved.