public static enum RegressionModel.ModelType extends Enum<RegressionModel.ModelType> implements StringValue<RegressionModel.ModelType>
| Enum Constant and Description |
|---|
LINEAR_REGRESSION |
LOGISTIC_REGRESSION |
STEPWISE_POLYNOMIAL_REGRESSION |
| Modifier and Type | Method and Description |
|---|---|
static RegressionModel.ModelType |
fromValue(String v) |
String |
toString() |
String |
value() |
static RegressionModel.ModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegressionModel.ModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegressionModel.ModelType LINEAR_REGRESSION
public static final RegressionModel.ModelType STEPWISE_POLYNOMIAL_REGRESSION
public static final RegressionModel.ModelType LOGISTIC_REGRESSION
public static RegressionModel.ModelType[] values()
for (RegressionModel.ModelType c : RegressionModel.ModelType.values()) System.out.println(c);
public static RegressionModel.ModelType 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 String value()
value in interface StringValue<RegressionModel.ModelType>public static RegressionModel.ModelType fromValue(String v)
public String toString()
toString in class Enum<RegressionModel.ModelType>Copyright © 2019 University of Tartu. All rights reserved.