public static enum LiblinearAnnotator.Mode extends Enum<LiblinearAnnotator.Mode>
| Enum Constant and Description |
|---|
MULTICLASS
Multiclass mode using liblinear's internal multiclass support
|
MULTILABEL
Multilabel mode, using an ensemble of one-versus-all binary
classifiers (class/not-class) which are used to determine the labels
|
| Modifier and Type | Method and Description |
|---|---|
static LiblinearAnnotator.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiblinearAnnotator.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiblinearAnnotator.Mode MULTICLASS
public static final LiblinearAnnotator.Mode MULTILABEL
public static LiblinearAnnotator.Mode[] values()
for (LiblinearAnnotator.Mode c : LiblinearAnnotator.Mode.values()) System.out.println(c);
public static LiblinearAnnotator.Mode 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 null