public static enum GeneralRegressionModel.ModelType extends Enum<GeneralRegressionModel.ModelType> implements StringValue<GeneralRegressionModel.ModelType>
| 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 |
toString() |
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()
value in interface StringValue<GeneralRegressionModel.ModelType>public static GeneralRegressionModel.ModelType fromValue(String v)
public String toString()
toString in class Enum<GeneralRegressionModel.ModelType>Copyright © 2024. All rights reserved.