public static enum ROCMultiClass.Metric extends Enum<ROCMultiClass.Metric> implements IMetric
Modifier and Type | Method and Description |
---|---|
Class<? extends IEvaluation> |
getEvaluationClass()
The
IEvaluation class this metric is for |
boolean |
minimize()
Whether this metric should be minimized (aka whether lower values are better).
|
static ROCMultiClass.Metric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ROCMultiClass.Metric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ROCMultiClass.Metric AUROC
public static final ROCMultiClass.Metric AUPRC
public static ROCMultiClass.Metric[] values()
for (ROCMultiClass.Metric c : ROCMultiClass.Metric.values()) System.out.println(c);
public static ROCMultiClass.Metric 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 Class<? extends IEvaluation> getEvaluationClass()
IMetric
IEvaluation
class this metric is forgetEvaluationClass
in interface IMetric
Copyright © 2020. All rights reserved.