public static enum GeneralRegressionModel.ModelType extends Enum<GeneralRegressionModel.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="regression"/>
<enumeration value="generalLinear"/>
<enumeration value="multinomialLogistic"/>
<enumeration value="ordinalMultinomial"/>
<enumeration value="generalizedLinear"/>
<enumeration value="CoxRegression"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
COX_REGRESSION |
GENERAL_LINEAR |
GENERALIZED_LINEAR |
MULTINOMIAL_LOGISTIC |
ORDINAL_MULTINOMIAL |
REGRESSION |
| Modifier and Type | Method and Description |
|---|---|
static GeneralRegressionModel.ModelType |
fromValue(String v) |
String |
value() |
static GeneralRegressionModel.ModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneralRegressionModel.ModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneralRegressionModel.ModelType REGRESSION
public static final GeneralRegressionModel.ModelType GENERAL_LINEAR
public static final GeneralRegressionModel.ModelType MULTINOMIAL_LOGISTIC
public static final GeneralRegressionModel.ModelType ORDINAL_MULTINOMIAL
public static final GeneralRegressionModel.ModelType GENERALIZED_LINEAR
public static final GeneralRegressionModel.ModelType COX_REGRESSION
public static GeneralRegressionModel.ModelType[] values()
for (GeneralRegressionModel.ModelType c : GeneralRegressionModel.ModelType.values()) System.out.println(c);
public static GeneralRegressionModel.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 GeneralRegressionModel.ModelType fromValue(String v)
Copyright © 2016 University of Tartu. All Rights Reserved.