public static enum Dataset.Attribute extends Enum<Dataset.Attribute>
Enum Constant and Description |
---|
CATEGORICAL |
IGNORED |
LABEL |
NUMERICAL |
Modifier and Type | Method and Description |
---|---|
boolean |
isCategorical() |
boolean |
isIgnored() |
boolean |
isLabel() |
boolean |
isNumerical() |
static Dataset.Attribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dataset.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dataset.Attribute IGNORED
public static final Dataset.Attribute NUMERICAL
public static final Dataset.Attribute CATEGORICAL
public static final Dataset.Attribute LABEL
public static Dataset.Attribute[] values()
for (Dataset.Attribute c : Dataset.Attribute.values()) System.out.println(c);
public static Dataset.Attribute 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 boolean isNumerical()
public boolean isCategorical()
public boolean isLabel()
public boolean isIgnored()
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.