public enum AnomalyMetrics extends Enum<AnomalyMetrics>
Enum Constant and Description |
---|
F1
The F_1 score, i.e., the harmonic mean of the precision and the recall.
|
FN
The number of false negatives.
|
FP
The number of false positives.
|
PRECISION
The precision, i.e., the true positives divided by the predicted positives.
|
RECALL
The recall, i.e., the true positives divided by the ground truth positives.
|
TN
The number of true negatives.
|
TP
The number of true positives.
|
Modifier and Type | Method and Description |
---|---|
static AnomalyMetrics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnomalyMetrics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnomalyMetrics TP
public static final AnomalyMetrics FP
public static final AnomalyMetrics TN
public static final AnomalyMetrics FN
public static final AnomalyMetrics PRECISION
public static final AnomalyMetrics RECALL
public static final AnomalyMetrics F1
public static AnomalyMetrics[] values()
for (AnomalyMetrics c : AnomalyMetrics.values()) System.out.println(c);
public static AnomalyMetrics 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 © 2015–2021 Oracle and/or its affiliates. All rights reserved.