public static enum XGBoostTrainer.TreeMethod extends Enum<XGBoostTrainer.TreeMethod>
Enum Constant and Description |
---|
APPROX
Approximate greedy algorithm, using a quantile sketch of the data and a gradient histogram.
|
AUTO
|
EXACT
Exact greedy algorithm, enumerates all split candidates.
|
GPU_HIST
GPU implementation of the
HIST algorithm. |
HIST
Faster histogram optimized approximate algorithm.
|
Modifier and Type | Method and Description |
---|---|
static XGBoostTrainer.TreeMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XGBoostTrainer.TreeMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XGBoostTrainer.TreeMethod AUTO
public static final XGBoostTrainer.TreeMethod EXACT
public static final XGBoostTrainer.TreeMethod APPROX
public static final XGBoostTrainer.TreeMethod HIST
public static final XGBoostTrainer.TreeMethod GPU_HIST
HIST
algorithm.
Note: GPU computation may not be supported on all platforms, and Tribuo is not tested with XGBoost GPU support.
public final String paramName
public static XGBoostTrainer.TreeMethod[] values()
for (XGBoostTrainer.TreeMethod c : XGBoostTrainer.TreeMethod.values()) System.out.println(c);
public static XGBoostTrainer.TreeMethod 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 nullCopyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.