Package adams.flow.transformer
Enum WekaInstancesInfo.InfoType
- java.lang.Object
-
- java.lang.Enum<WekaInstancesInfo.InfoType>
-
- adams.flow.transformer.WekaInstancesInfo.InfoType
-
- All Implemented Interfaces:
Serializable
,Comparable<WekaInstancesInfo.InfoType>
- Enclosing class:
- WekaInstancesInfo
public static enum WekaInstancesInfo.InfoType extends Enum<WekaInstancesInfo.InfoType>
The type of information to generate.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_NAME
the name of the attribute (at specified index).ATTRIBUTE_NAMES
the names of all attributes.ATTRIBUTE_TYPE
the attribute type (selected attribute).CLASS_ATTRIBUTE_NAME
the name of the class attribute.CLASS_LABEL_COUNT
the number of instances with the specified class label (only nominal).CLASS_LABEL_COUNTS
the counts per class label (only nominal).CLASS_LABEL_DISTRIBUTION
the distribution (percentages, 0-1) per class label (only nominal).CLASS_LABELS
the class labels (only nominal class attribute).CLASS_TYPE
the class attribute type.FULL
full stats.FULL_ATTRIBUTE
full attribute stats (nominal/numeric).FULL_CLASS
full class attribute stats (nominal/numeric).HEADER
the header (as string).LABEL_COUNT
the number of instances with the specified class label (selected attribute, only nominal).LABEL_COUNTS
the counts per label (selected attribute, only nominal).LABEL_DISTRIBUTION
the distribution (percentages, 0-1) per label (selected attribute, only nominal).LABELS
the labels (selected attribute, only nominal).MAX
the maximum value (selected attribute, only numeric).MEAN
the mean (selected attribute, only numeric).MIN
the minimum value (selected attribute, only numeric).NUM_ATTRIBUTES
the number of attributes.NUM_CLASS_LABELS
the number of class labels.NUM_DISTINCT_VALUES
the number of distinct values (selected attribute).NUM_INSTANCES
the number of instances.NUM_LABELS
the number of labels (selected attribute, only nominal).NUM_MISSING_VALUES
the number of missing values (selected attribute, only nominal).NUM_UNIQUE_VALUES
the number of unique values (selected attribute).RELATION_NAME
the name of the dataset.STDEV
the stdev (selected attribute, only numeric).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WekaInstancesInfo.InfoType
valueOf(String name)
Returns the enum constant of this type with the specified name.static WekaInstancesInfo.InfoType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final WekaInstancesInfo.InfoType FULL
full stats.
-
FULL_ATTRIBUTE
public static final WekaInstancesInfo.InfoType FULL_ATTRIBUTE
full attribute stats (nominal/numeric).
-
FULL_CLASS
public static final WekaInstancesInfo.InfoType FULL_CLASS
full class attribute stats (nominal/numeric).
-
HEADER
public static final WekaInstancesInfo.InfoType HEADER
the header (as string).
-
RELATION_NAME
public static final WekaInstancesInfo.InfoType RELATION_NAME
the name of the dataset.
-
NUM_ATTRIBUTES
public static final WekaInstancesInfo.InfoType NUM_ATTRIBUTES
the number of attributes.
-
NUM_INSTANCES
public static final WekaInstancesInfo.InfoType NUM_INSTANCES
the number of instances.
-
NUM_CLASS_LABELS
public static final WekaInstancesInfo.InfoType NUM_CLASS_LABELS
the number of class labels.
-
ATTRIBUTE_NAME
public static final WekaInstancesInfo.InfoType ATTRIBUTE_NAME
the name of the attribute (at specified index).
-
ATTRIBUTE_NAMES
public static final WekaInstancesInfo.InfoType ATTRIBUTE_NAMES
the names of all attributes.
-
CLASS_ATTRIBUTE_NAME
public static final WekaInstancesInfo.InfoType CLASS_ATTRIBUTE_NAME
the name of the class attribute.
-
LABELS
public static final WekaInstancesInfo.InfoType LABELS
the labels (selected attribute, only nominal).
-
CLASS_LABELS
public static final WekaInstancesInfo.InfoType CLASS_LABELS
the class labels (only nominal class attribute).
-
NUM_LABELS
public static final WekaInstancesInfo.InfoType NUM_LABELS
the number of labels (selected attribute, only nominal).
-
NUM_MISSING_VALUES
public static final WekaInstancesInfo.InfoType NUM_MISSING_VALUES
the number of missing values (selected attribute, only nominal).
-
NUM_DISTINCT_VALUES
public static final WekaInstancesInfo.InfoType NUM_DISTINCT_VALUES
the number of distinct values (selected attribute).
-
NUM_UNIQUE_VALUES
public static final WekaInstancesInfo.InfoType NUM_UNIQUE_VALUES
the number of unique values (selected attribute).
-
LABEL_COUNT
public static final WekaInstancesInfo.InfoType LABEL_COUNT
the number of instances with the specified class label (selected attribute, only nominal).
-
CLASS_LABEL_COUNT
public static final WekaInstancesInfo.InfoType CLASS_LABEL_COUNT
the number of instances with the specified class label (only nominal).
-
LABEL_COUNTS
public static final WekaInstancesInfo.InfoType LABEL_COUNTS
the counts per label (selected attribute, only nominal).
-
CLASS_LABEL_COUNTS
public static final WekaInstancesInfo.InfoType CLASS_LABEL_COUNTS
the counts per class label (only nominal).
-
LABEL_DISTRIBUTION
public static final WekaInstancesInfo.InfoType LABEL_DISTRIBUTION
the distribution (percentages, 0-1) per label (selected attribute, only nominal).
-
CLASS_LABEL_DISTRIBUTION
public static final WekaInstancesInfo.InfoType CLASS_LABEL_DISTRIBUTION
the distribution (percentages, 0-1) per class label (only nominal).
-
MIN
public static final WekaInstancesInfo.InfoType MIN
the minimum value (selected attribute, only numeric).
-
MAX
public static final WekaInstancesInfo.InfoType MAX
the maximum value (selected attribute, only numeric).
-
MEAN
public static final WekaInstancesInfo.InfoType MEAN
the mean (selected attribute, only numeric).
-
STDEV
public static final WekaInstancesInfo.InfoType STDEV
the stdev (selected attribute, only numeric).
-
ATTRIBUTE_TYPE
public static final WekaInstancesInfo.InfoType ATTRIBUTE_TYPE
the attribute type (selected attribute).
-
CLASS_TYPE
public static final WekaInstancesInfo.InfoType CLASS_TYPE
the class attribute type.
-
-
Method Detail
-
values
public static WekaInstancesInfo.InfoType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WekaInstancesInfo.InfoType c : WekaInstancesInfo.InfoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WekaInstancesInfo.InfoType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-