com.yosokumo.core
Enum Predictor.Level

java.lang.Object
  extended by java.lang.Enum<Predictor.Level>
      extended by com.yosokumo.core.Predictor.Level
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Predictor.Level>
Enclosing class:
Predictor

public static enum Predictor.Level
extends java.lang.Enum<Predictor.Level>

Indicates the level of measurement for the feature. The default value is RATIO.


Enum Constant Summary
INTERVAL
          the predictor values can be ranked and have a standard unit of measurement, but the zero value is arbitrary.
NOMINAL
          the values are names or labels for certain characteristics, without any implied order among them.
ORDINAL
          the feature takes values that represent the rank order of the specimen, but the distance between the values is not meaningful.
RATIO
          The values taken by the predictor have a standard unit of measurement, are rankable, and the zero value is non-arbitrary.
 
Method Summary
static Predictor.Level valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Predictor.Level[] 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

NOMINAL

public static final Predictor.Level NOMINAL
the values are names or labels for certain characteristics, without any implied order among them.


ORDINAL

public static final Predictor.Level ORDINAL
the feature takes values that represent the rank order of the specimen, but the distance between the values is not meaningful.


INTERVAL

public static final Predictor.Level INTERVAL
the predictor values can be ranked and have a standard unit of measurement, but the zero value is arbitrary.


RATIO

public static final Predictor.Level RATIO
The values taken by the predictor have a standard unit of measurement, are rankable, and the zero value is non-arbitrary.

Method Detail

values

public static Predictor.Level[] 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 (Predictor.Level c : Predictor.Level.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Predictor.Level valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null