Package adams.flow.core
Enum ExperimentStatistic
- java.lang.Object
-
- java.lang.Enum<ExperimentStatistic>
-
- adams.flow.core.ExperimentStatistic
-
- All Implemented Interfaces:
adams.core.EnumWithCustomDisplay<ExperimentStatistic>
,adams.core.EnumWithCustomParsing<ExperimentStatistic>
,Serializable
,Comparable<ExperimentStatistic>
public enum ExperimentStatistic extends Enum<ExperimentStatistic> implements adams.core.EnumWithCustomDisplay<ExperimentStatistic>
The enumeration for the comparison field.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getField()
Returns the display string without the "numeric" or "nominal" in parentheses.ExperimentStatistic
parse(String s)
Parses the given string and returns the associated enum.String
toDisplay()
Returns the display string.String
toRaw()
Returns the raw enum string.String
toString()
Returns the displays string.static String
toString(adams.core.option.AbstractOption option, Object object)
Returns the enum as string.static ExperimentStatistic
valueOf(adams.core.option.AbstractOption option, String str)
Returns an enum generated from the string.static ExperimentStatistic
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExperimentStatistic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ELAPSED_TIME_TRAINING
public static final ExperimentStatistic ELAPSED_TIME_TRAINING
-
ELAPSED_TIME_TESTING
public static final ExperimentStatistic ELAPSED_TIME_TESTING
-
USERCPU_TIME_TRAINING
public static final ExperimentStatistic USERCPU_TIME_TRAINING
-
USERCPU_TIME_TESTING
public static final ExperimentStatistic USERCPU_TIME_TESTING
-
SERIALIZED_MODEL_SIZE
public static final ExperimentStatistic SERIALIZED_MODEL_SIZE
-
SERIALIZED_TRAIN_SET_SIZE
public static final ExperimentStatistic SERIALIZED_TRAIN_SET_SIZE
-
SERIALIZED_TEST_SET_SIZE
public static final ExperimentStatistic SERIALIZED_TEST_SET_SIZE
-
NUMBER_OF_TRAINING_INSTANCES
public static final ExperimentStatistic NUMBER_OF_TRAINING_INSTANCES
-
NUMBER_OF_TESTING_INSTANCES
public static final ExperimentStatistic NUMBER_OF_TESTING_INSTANCES
-
NUMBER_CORRECT
public static final ExperimentStatistic NUMBER_CORRECT
-
NUMBER_INCORRECT
public static final ExperimentStatistic NUMBER_INCORRECT
-
NUMBER_UNCLASSIFIED
public static final ExperimentStatistic NUMBER_UNCLASSIFIED
-
PERCENT_CORRECT
public static final ExperimentStatistic PERCENT_CORRECT
-
PERCENT_INCORRECT
public static final ExperimentStatistic PERCENT_INCORRECT
-
PERCENT_UNCLASSIFIED
public static final ExperimentStatistic PERCENT_UNCLASSIFIED
-
KAPPA_STATISTIC
public static final ExperimentStatistic KAPPA_STATISTIC
-
MEAN_ABSOLUTE_ERROR
public static final ExperimentStatistic MEAN_ABSOLUTE_ERROR
-
ROOT_MEAN_SQUARED_ERROR
public static final ExperimentStatistic ROOT_MEAN_SQUARED_ERROR
-
RELATIVE_ABSOLUTE_ERROR
public static final ExperimentStatistic RELATIVE_ABSOLUTE_ERROR
-
ROOT_RELATIVE_SQUARED_ERROR
public static final ExperimentStatistic ROOT_RELATIVE_SQUARED_ERROR
-
CORRELATION_COEFFICIENT
public static final ExperimentStatistic CORRELATION_COEFFICIENT
-
SF_PRIOR_ENTROPY
public static final ExperimentStatistic SF_PRIOR_ENTROPY
-
SF_SCHEME_ENTROPY
public static final ExperimentStatistic SF_SCHEME_ENTROPY
-
SF_ENTROPY_GAIN
public static final ExperimentStatistic SF_ENTROPY_GAIN
-
SF_MEAN_PRIOR_ENTROPY
public static final ExperimentStatistic SF_MEAN_PRIOR_ENTROPY
-
SF_MEAN_SCHEME_ENTROPY
public static final ExperimentStatistic SF_MEAN_SCHEME_ENTROPY
-
SF_MEAN_ENTROPY_GAIN
public static final ExperimentStatistic SF_MEAN_ENTROPY_GAIN
-
KB_INFORMATION
public static final ExperimentStatistic KB_INFORMATION
-
KB_MEAN_INFORMATION
public static final ExperimentStatistic KB_MEAN_INFORMATION
-
KB_RELATIVE_INFORMATION
public static final ExperimentStatistic KB_RELATIVE_INFORMATION
-
TRUE_POSITIVE_RATE
public static final ExperimentStatistic TRUE_POSITIVE_RATE
-
NUM_TRUE_POSITIVES
public static final ExperimentStatistic NUM_TRUE_POSITIVES
-
FALSE_POSITIVE_RATE
public static final ExperimentStatistic FALSE_POSITIVE_RATE
-
NUM_FALSE_POSITIVES
public static final ExperimentStatistic NUM_FALSE_POSITIVES
-
TRUE_NEGATIVE_RATE
public static final ExperimentStatistic TRUE_NEGATIVE_RATE
-
NUM_TRUE_NEGATIVES
public static final ExperimentStatistic NUM_TRUE_NEGATIVES
-
FALSE_NEGATIVE_RATE
public static final ExperimentStatistic FALSE_NEGATIVE_RATE
-
NUM_FALSE_NEGATIVES
public static final ExperimentStatistic NUM_FALSE_NEGATIVES
-
IR_PRECISION
public static final ExperimentStatistic IR_PRECISION
-
IR_RECALL
public static final ExperimentStatistic IR_RECALL
-
F_MEASURE
public static final ExperimentStatistic F_MEASURE
-
MATTHEWS_CORRELATION_COEFFICIENT
public static final ExperimentStatistic MATTHEWS_CORRELATION_COEFFICIENT
-
AREA_UNDER_ROC
public static final ExperimentStatistic AREA_UNDER_ROC
-
AREA_UNDER_PRC
public static final ExperimentStatistic AREA_UNDER_PRC
-
WEIGHTED_TRUE_POSITIVE_RATE
public static final ExperimentStatistic WEIGHTED_TRUE_POSITIVE_RATE
-
WEIGHTED_FALSE_POSITIVE_RATE
public static final ExperimentStatistic WEIGHTED_FALSE_POSITIVE_RATE
-
WEIGHTED_TRUE_NEGATIVE_RATE
public static final ExperimentStatistic WEIGHTED_TRUE_NEGATIVE_RATE
-
WEIGHTED_FALSE_NEGATIVE_RATE
public static final ExperimentStatistic WEIGHTED_FALSE_NEGATIVE_RATE
-
WEIGHTED_IR_PRECISION
public static final ExperimentStatistic WEIGHTED_IR_PRECISION
-
WEIGHTED_IR_RECALL
public static final ExperimentStatistic WEIGHTED_IR_RECALL
-
WEIGHTED_F_MEASURE
public static final ExperimentStatistic WEIGHTED_F_MEASURE
-
WEIGHTED_MATTHEWS_CORRELATION_COEFFICIENT
public static final ExperimentStatistic WEIGHTED_MATTHEWS_CORRELATION_COEFFICIENT
-
WEIGHTED_AREA_UNDER_ROC
public static final ExperimentStatistic WEIGHTED_AREA_UNDER_ROC
-
WEIGHTED_AREA_UNDER_PRC
public static final ExperimentStatistic WEIGHTED_AREA_UNDER_PRC
-
BIAS
public static final ExperimentStatistic BIAS
-
MSLE
public static final ExperimentStatistic MSLE
-
RSQUARED
public static final ExperimentStatistic RSQUARED
-
SDR
public static final ExperimentStatistic SDR
-
RPD
public static final ExperimentStatistic RPD
-
-
Method Detail
-
values
public static ExperimentStatistic[] 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 (ExperimentStatistic c : ExperimentStatistic.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExperimentStatistic 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
-
toDisplay
public String toDisplay()
Returns the display string.- Specified by:
toDisplay
in interfaceadams.core.EnumWithCustomDisplay<ExperimentStatistic>
- Returns:
- the display string
-
toRaw
public String toRaw()
Returns the raw enum string.- Specified by:
toRaw
in interfaceadams.core.EnumWithCustomDisplay<ExperimentStatistic>
- Returns:
- the raw enum string
-
parse
public ExperimentStatistic parse(String s)
Parses the given string and returns the associated enum.- Specified by:
parse
in interfaceadams.core.EnumWithCustomParsing<ExperimentStatistic>
- Parameters:
s
- the string to parse- Returns:
- the enum or null if not found
-
getField
public String getField()
Returns the display string without the "numeric" or "nominal" in parentheses.- Returns:
- the field string
-
toString
public String toString()
Returns the displays string.- Overrides:
toString
in classEnum<ExperimentStatistic>
- Returns:
- the display string
-
toString
public static String toString(adams.core.option.AbstractOption option, Object object)
Returns the enum as string.- Parameters:
option
- the current optionobject
- the enum object to convert- Returns:
- the generated string
-
valueOf
public static ExperimentStatistic valueOf(adams.core.option.AbstractOption option, String str)
Returns an enum generated from the string.- Parameters:
option
- the current optionstr
- the string to convert to an enum- Returns:
- the generated enum or null in case of error
-
-