adams.flow.transformer
Enum WekaInstancesInfo.InfoType

java.lang.Object
  extended by java.lang.Enum<WekaInstancesInfo.InfoType>
      extended by 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: 5563 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Enum Constant Summary
ATTRIBUTE_NAME
          the name of the attribute (at specified index).
ATTRIBUTE_TYPE
          the attribute type (selected attribute).
CLASS_LABELS
          the class labels (only nominal class attribute).
CLASS_TYPE
          the class attribute type.
FULL
          full stats.
HEADER
          the header (as string).
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FULL

public static final WekaInstancesInfo.InfoType FULL
full stats.


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).


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).


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 name
NullPointerException - if the argument is null


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.