◆ Configure()
void xgboost::linear::ShotgunUpdater::Configure |
( |
Args const & |
args | ) |
|
|
inlineoverridevirtual |
Initialize the updater with given arguments.
- Parameters
-
args | arguments to the objective function. |
Implements xgboost::LinearUpdater.
◆ LoadConfig()
void xgboost::linear::ShotgunUpdater::LoadConfig |
( |
Json const & |
in | ) |
|
|
inlineoverridevirtual |
Load configuration from JSON object.
- Parameters
-
in | JSON object containing the configuration |
Implements xgboost::Configurable.
◆ SaveConfig()
void xgboost::linear::ShotgunUpdater::SaveConfig |
( |
Json * |
out | ) |
const |
|
inlineoverridevirtual |
Save configuration to JSON object.
- Parameters
-
out | pointer to output JSON object |
Implements xgboost::Configurable.
◆ Update()
Updates linear model given gradients.
- Parameters
-
in_gpair | The gradient pair statistics of the data. |
data | Input data matrix. |
model | Model to be updated. |
sum_instance_weight | The sum instance weights, used to normalise l1/l2 penalty. |
Implements xgboost::LinearUpdater.
The documentation for this class was generated from the following file:
- External/xgboost/src/linear/updater_shotgun.cc