interface of linear updater
More...
#include <linear_updater.h>
interface of linear updater
◆ ~LinearUpdater()
xgboost::LinearUpdater::~LinearUpdater |
( |
| ) |
|
|
overridedefault |
◆ Configure()
virtual void xgboost::LinearUpdater::Configure |
( |
const std::vector< std::pair< std::string, std::string > > & |
args | ) |
|
|
pure virtual |
Initialize the updater with given arguments.
- Parameters
-
args | arguments to the objective function. |
◆ Create()
Create a linear updater given name.
- Parameters
-
name | Name of the linear updater. |
◆ 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. |
◆ ctx_
Context const* xgboost::LinearUpdater::ctx_ |
|
protected |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/stable/include/xgboost/linear_updater.h