public static enum Classification.Type extends Enum<Classification.Type>
| Enum Constant and Description |
|---|
CONFIDENCE |
DISTANCE |
PROBABILITY |
SIMILARITY |
VOTE |
| Modifier and Type | Method and Description |
|---|---|
<V extends Number> |
compareValues(Value<V> left,
Value<V> right) |
String |
entryKey() |
Double |
getDefaultValue()
Gets the least optimal value in the range of valid values.
|
boolean |
getOrdering() |
com.google.common.collect.Range<Double> |
getRange() |
<V extends Number> |
getValue(Value<V> value) |
<V extends Number> |
isValidValue(Value<V> value) |
static Classification.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Classification.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Classification.Type PROBABILITY
public static final Classification.Type CONFIDENCE
public static final Classification.Type DISTANCE
public static final Classification.Type SIMILARITY
public static final Classification.Type VOTE
public static Classification.Type[] values()
for (Classification.Type c : Classification.Type.values()) System.out.println(c);
public static Classification.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 Double getDefaultValue()
Gets the least optimal value in the range of valid values.
public String entryKey()
public boolean getOrdering()
public com.google.common.collect.Range<Double> getRange()
Copyright © 2020. All rights reserved.