Package adams.data.evaluator.instance
Enum CrossValidatedPrediction.StatisticType
- java.lang.Object
-
- java.lang.Enum<CrossValidatedPrediction.StatisticType>
-
- adams.data.evaluator.instance.CrossValidatedPrediction.StatisticType
-
- All Implemented Interfaces:
Serializable
,Comparable<CrossValidatedPrediction.StatisticType>
- Enclosing class:
- CrossValidatedPrediction
public static enum CrossValidatedPrediction.StatisticType extends Enum<CrossValidatedPrediction.StatisticType>
The type of statistic to return.- Version:
- $Revision: 2242 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RANGE
STDEV
STDEV_NORMALIZED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CrossValidatedPrediction.StatisticType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CrossValidatedPrediction.StatisticType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STDEV
public static final CrossValidatedPrediction.StatisticType STDEV
-
STDEV_NORMALIZED
public static final CrossValidatedPrediction.StatisticType STDEV_NORMALIZED
-
RANGE
public static final CrossValidatedPrediction.StatisticType RANGE
-
-
Method Detail
-
values
public static CrossValidatedPrediction.StatisticType[] 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 (CrossValidatedPrediction.StatisticType c : CrossValidatedPrediction.StatisticType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrossValidatedPrediction.StatisticType 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
-
-