public static enum XGBoostMojoModel.ObjectiveTypeextends java.lang.Enum<XGBoostMojoModel.ObjectiveType>
Enum Constant and Description |
---|
BINARY_LOGISTIC |
COUNT_POISSON |
MULTI_SOFTPROB |
RANK_PAIRWISE |
REG_GAMMA |
REG_LINEAR |
REG_TWEEDIE |
Modifier and Type | Method and Description |
---|---|
static XGBoostMojoModel.ObjectiveType | fromXGBoost(java.lang.String type) |
java.lang.String | getId() |
static XGBoostMojoModel.ObjectiveType | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static XGBoostMojoModel.ObjectiveType[] | values() Returns an array containing the constants of this enum type, inthe order they are declared. |
public static final XGBoostMojoModel.ObjectiveType BINARY_LOGISTIC
public static final XGBoostMojoModel.ObjectiveType REG_GAMMA
public static final XGBoostMojoModel.ObjectiveType REG_TWEEDIE
public static final XGBoostMojoModel.ObjectiveType COUNT_POISSON
public static final XGBoostMojoModel.ObjectiveType REG_LINEAR
public static final XGBoostMojoModel.ObjectiveType MULTI_SOFTPROB
public static final XGBoostMojoModel.ObjectiveType RANK_PAIRWISE
public static XGBoostMojoModel.ObjectiveType[] values()
for (XGBoostMojoModel.ObjectiveType c : XGBoostMojoModel.ObjectiveType.values()) System.out.println(c);
public static XGBoostMojoModel.ObjectiveType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getId()
public static XGBoostMojoModel.ObjectiveType fromXGBoost(java.lang.String type)