public static enum AUC2.ThresholdCriterion extends java.lang.Enum<AUC2.ThresholdCriterion>
Enum Constant and Description |
---|
absolute_mcc |
accuracy |
f0point5 |
f1 |
f2 |
fnr |
fns |
fpr |
fps |
mean_per_class_accuracy |
min_per_class_accuracy |
precision |
recall |
specificity |
tnr |
tns |
tpr |
tps |
Modifier and Type | Field and Description |
---|---|
boolean |
_isInt |
static AUC2.ThresholdCriterion[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
double |
exec(AUC2 auc,
int idx) |
static AUC2.ThresholdCriterion |
fromString(java.lang.String strRepr) |
int |
max_criterion_idx(AUC2 auc)
Convert a criterion into a threshold index that maximizes the criterion
|
double |
max_criterion(AUC2 auc) |
static AUC2.ThresholdCriterion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AUC2.ThresholdCriterion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AUC2.ThresholdCriterion f1
public static final AUC2.ThresholdCriterion f2
public static final AUC2.ThresholdCriterion f0point5
public static final AUC2.ThresholdCriterion accuracy
public static final AUC2.ThresholdCriterion precision
public static final AUC2.ThresholdCriterion recall
public static final AUC2.ThresholdCriterion specificity
public static final AUC2.ThresholdCriterion absolute_mcc
public static final AUC2.ThresholdCriterion min_per_class_accuracy
public static final AUC2.ThresholdCriterion mean_per_class_accuracy
public static final AUC2.ThresholdCriterion tns
public static final AUC2.ThresholdCriterion fns
public static final AUC2.ThresholdCriterion fps
public static final AUC2.ThresholdCriterion tps
public static final AUC2.ThresholdCriterion tnr
public static final AUC2.ThresholdCriterion fnr
public static final AUC2.ThresholdCriterion fpr
public static final AUC2.ThresholdCriterion tpr
public final boolean _isInt
public static final AUC2.ThresholdCriterion[] VALUES
public static AUC2.ThresholdCriterion[] values()
for (AUC2.ThresholdCriterion c : AUC2.ThresholdCriterion.values()) System.out.println(c);
public static AUC2.ThresholdCriterion 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 double exec(AUC2 auc, int idx)
public double max_criterion(AUC2 auc)
public int max_criterion_idx(AUC2 auc)
public static AUC2.ThresholdCriterion fromString(java.lang.String strRepr)