public enum CostFunctionValue extends java.lang.Enum<CostFunctionValue>
CostFunction
implementations. Each entry can tell what
additional parameters it depends on (if any).Enum Constant and Description |
---|
CLASSIFICATION_ACCURACY |
COST_FUNCTION_VALUE_TO_OPTIMIZE |
DEFAULT_COST |
FMEASURE |
NONE |
PRECISION_RECALL |
WEIGHTED_ACCURACY |
Modifier and Type | Method and Description |
---|---|
boolean |
requiresBeta() |
boolean |
requiresConfusionMatrix() |
boolean |
requiresWeightVector() |
static CostFunctionValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CostFunctionValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CostFunctionValue NONE
public static final CostFunctionValue COST_FUNCTION_VALUE_TO_OPTIMIZE
public static final CostFunctionValue WEIGHTED_ACCURACY
public static final CostFunctionValue FMEASURE
public static final CostFunctionValue PRECISION_RECALL
public static final CostFunctionValue DEFAULT_COST
public static final CostFunctionValue CLASSIFICATION_ACCURACY
public static CostFunctionValue[] values()
for (CostFunctionValue c : CostFunctionValue.values()) System.out.println(c);
public static CostFunctionValue valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean requiresConfusionMatrix()
public boolean requiresBeta()
public boolean requiresWeightVector()