public static enum ClassificationMap.Type extends Enum<ClassificationMap.Type> implements Comparator<Double>
| Enum Constant and Description |
|---|
CONFIDENCE |
DISTANCE |
PROBABILITY |
SIMILARITY |
VOTE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Double left,
Double right)
Calculates the order between arguments.
|
org.jpmml.evaluator.ClassificationMap.Type.Ordering |
getOrdering() |
static ClassificationMap.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassificationMap.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfequalspublic static final ClassificationMap.Type PROBABILITY
public static final ClassificationMap.Type CONFIDENCE
public static final ClassificationMap.Type DISTANCE
public static final ClassificationMap.Type SIMILARITY
public static final ClassificationMap.Type VOTE
public static ClassificationMap.Type[] values()
for (ClassificationMap.Type c : ClassificationMap.Type.values()) System.out.println(c);
public static ClassificationMap.Type 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 nullpublic int compare(Double left, Double right)
compare in interface Comparator<Double>left - A valueright - The reference valuepublic org.jpmml.evaluator.ClassificationMap.Type.Ordering getOrdering()
Copyright © 2014 University of Tartu. All Rights Reserved.