public static enum DiscreteEvaluator.RepresentativeMetric extends Enum<DiscreteEvaluator.RepresentativeMetric>
Enum Constant and Description |
---|
ACCURACY |
F1 |
NEGATIVE_PRECISION |
NEGATIVE_RECALL |
POSITIVE_PRECISION |
POSITIVE_RECALL |
Modifier and Type | Method and Description |
---|---|
static DiscreteEvaluator.RepresentativeMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscreteEvaluator.RepresentativeMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscreteEvaluator.RepresentativeMetric F1
public static final DiscreteEvaluator.RepresentativeMetric POSITIVE_PRECISION
public static final DiscreteEvaluator.RepresentativeMetric NEGATIVE_PRECISION
public static final DiscreteEvaluator.RepresentativeMetric POSITIVE_RECALL
public static final DiscreteEvaluator.RepresentativeMetric NEGATIVE_RECALL
public static final DiscreteEvaluator.RepresentativeMetric ACCURACY
public static DiscreteEvaluator.RepresentativeMetric[] values()
for (DiscreteEvaluator.RepresentativeMetric c : DiscreteEvaluator.RepresentativeMetric.values()) System.out.println(c);
public static DiscreteEvaluator.RepresentativeMetric valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 University of California, Santa Cruz. All rights reserved.