Package weka.classifiers.trees
Enum XGBoost.TreeMethod
- java.lang.Object
-
- java.lang.Enum<XGBoost.TreeMethod>
-
- weka.classifiers.trees.XGBoost.TreeMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<XGBoost.TreeMethod>
- Enclosing class:
- XGBoost
public static enum XGBoost.TreeMethod extends Enum<XGBoost.TreeMethod>
Possible tree-method settings.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XGBoost.TreeMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static XGBoost.TreeMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final XGBoost.TreeMethod AUTO
-
EXACT
public static final XGBoost.TreeMethod EXACT
-
APPROX
public static final XGBoost.TreeMethod APPROX
-
HIST
public static final XGBoost.TreeMethod HIST
-
GPU_EXACT
public static final XGBoost.TreeMethod GPU_EXACT
-
GPU_HIST
public static final XGBoost.TreeMethod GPU_HIST
-
-
Method Detail
-
values
public static XGBoost.TreeMethod[] 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.TreeMethod c : XGBoost.TreeMethod.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.TreeMethod 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
-
-