public static enum RegressionModel.ModelType extends Enum<RegressionModel.ModelType>
Java class for null.
The following schema fragment specifies the expected content contained within this class.
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="linearRegression"/>
<enumeration value="stepwisePolynomialRegression"/>
<enumeration value="logisticRegression"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
LINEAR_REGRESSION |
LOGISTIC_REGRESSION |
STEPWISE_POLYNOMIAL_REGRESSION |
| Modifier and Type | Method and Description |
|---|---|
static RegressionModel.ModelType |
fromValue(String v) |
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()
public static RegressionModel.ModelType fromValue(String v)
Copyright © 2014 University of Tartu. All Rights Reserved.