public static enum ClassificationMap.Type extends java.lang.Enum<ClassificationMap.Type> implements java.util.Comparator<java.lang.Double>
| Enum Constant and Description |
|---|
CONFIDENCE |
DISTANCE |
PROBABILITY |
SIMILARITY |
VOTE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Double left,
java.lang.Double right)
Calculates the order between arguments.
|
org.jpmml.evaluator.ClassificationMap.Type.Ordering |
getOrdering() |
static ClassificationMap.Type |
valueOf(java.lang.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.
|
public 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(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 int compare(java.lang.Double left,
java.lang.Double right)
compare in interface java.util.Comparator<java.lang.Double>left - A valueright - The reference valuepublic org.jpmml.evaluator.ClassificationMap.Type.Ordering getOrdering()
Copyright © 2013 University of Tartu. All Rights Reserved.