public static enum XGBoostTrainer.BoosterType extends Enum<XGBoostTrainer.BoosterType>
Enum Constant and Description |
---|
DART
A gradient boosted decision tree using dropout.
|
GBTREE
A gradient boosted decision tree.
|
LINEAR
A boosted linear model.
|
Modifier and Type | Method and Description |
---|---|
static XGBoostTrainer.BoosterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XGBoostTrainer.BoosterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XGBoostTrainer.BoosterType LINEAR
public static final XGBoostTrainer.BoosterType GBTREE
public static final XGBoostTrainer.BoosterType DART
public final String paramName
public static XGBoostTrainer.BoosterType[] values()
for (XGBoostTrainer.BoosterType c : XGBoostTrainer.BoosterType.values()) System.out.println(c);
public static XGBoostTrainer.BoosterType 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.