public static enum RegressionEvaluation.Metric extends Enum<RegressionEvaluation.Metric>
Modifier and Type | Method and Description |
---|---|
static RegressionEvaluation.Metric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegressionEvaluation.Metric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegressionEvaluation.Metric MSE
public static final RegressionEvaluation.Metric MAE
public static final RegressionEvaluation.Metric RMSE
public static final RegressionEvaluation.Metric RSE
public static final RegressionEvaluation.Metric PC
public static final RegressionEvaluation.Metric R2
public static RegressionEvaluation.Metric[] values()
for (RegressionEvaluation.Metric c : RegressionEvaluation.Metric.values()) System.out.println(c);
public static RegressionEvaluation.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 nullCopyright © 2018. All rights reserved.