Package weka.classifiers.trees
Enum XGBoost.Objective
- java.lang.Object
-
- java.lang.Enum<XGBoost.Objective>
-
- weka.classifiers.trees.XGBoost.Objective
-
- All Implemented Interfaces:
Serializable
,Comparable<XGBoost.Objective>
,XGBoost.ParamValueProvider
- Enclosing class:
- XGBoost
public static enum XGBoost.Objective extends Enum<XGBoost.Objective> implements XGBoost.ParamValueProvider
The set of possible learning objectives.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
paramValue()
Provides a proxy object suitable for the XGBoost parameter system in place of this object.static XGBoost.Objective
valueOf(String name)
Returns the enum constant of this type with the specified name.static XGBoost.Objective[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINEAR_REGRESSION
public static final XGBoost.Objective LINEAR_REGRESSION
-
LOGISTIC_REGRESSION
public static final XGBoost.Objective LOGISTIC_REGRESSION
-
LOGISTIC_REGRESSION_FOR_BINARY_CLASSIFICATION
public static final XGBoost.Objective LOGISTIC_REGRESSION_FOR_BINARY_CLASSIFICATION
-
LOGIT_RAW_REGRESSION_FOR_BINARY_CLASSIFICATION
public static final XGBoost.Objective LOGIT_RAW_REGRESSION_FOR_BINARY_CLASSIFICATION
-
HINGE_LOSS_FOR_BINARY_CLASSIFICATION
public static final XGBoost.Objective HINGE_LOSS_FOR_BINARY_CLASSIFICATION
-
POISSON_REGRESSION_FOR_COUNT_DATA
public static final XGBoost.Objective POISSON_REGRESSION_FOR_COUNT_DATA
-
COX_REGRESSION
public static final XGBoost.Objective COX_REGRESSION
-
SOFTMAX_MULTICLASS_CLASSIFICATION
public static final XGBoost.Objective SOFTMAX_MULTICLASS_CLASSIFICATION
-
SOFTPROB_MULTICLASS_CLASSIFICATION
public static final XGBoost.Objective SOFTPROB_MULTICLASS_CLASSIFICATION
-
LAMBDAMART_PAIRWISE_RANKING
public static final XGBoost.Objective LAMBDAMART_PAIRWISE_RANKING
-
LAMBDAMART_MAXIMISE_NDCG
public static final XGBoost.Objective LAMBDAMART_MAXIMISE_NDCG
-
LAMBDAMART_MAXIMISE_MAP
public static final XGBoost.Objective LAMBDAMART_MAXIMISE_MAP
-
GAMMA_REGRESSION
public static final XGBoost.Objective GAMMA_REGRESSION
-
TWEEDIE_REGRESSION
public static final XGBoost.Objective TWEEDIE_REGRESSION
-
-
Method Detail
-
values
public static XGBoost.Objective[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XGBoost.Objective c : XGBoost.Objective.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XGBoost.Objective valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
paramValue
public String paramValue()
Description copied from interface:XGBoost.ParamValueProvider
Provides a proxy object suitable for the XGBoost parameter system in place of this object.- Specified by:
paramValue
in interfaceXGBoost.ParamValueProvider
- Returns:
- The object to give to XGBoost as a parameter.
-
-