线性更新器的接口 更多...
#include <linear_updater.h>
◆ ~LinearUpdater()
| xgboost::LinearUpdater::~LinearUpdater |
( |
| ) |
|
|
overridedefault |
◆ Configure()
| virtual void xgboost::LinearUpdater::Configure |
( |
const std::vector< std::pair< std::string, std::string > > & |
args | ) |
|
|
纯虚函数 |
◆ Create()
◆ Update()
根据梯度更新线性模型。
- 参数
-
| in_gpair | 数据的梯度对统计信息。 |
| 数据 | 输入数据矩阵。 |
| 模型 | 待更新的模型。 |
| sum_instance_weight | 实例权重之和,用于归一化 l1/l2 惩罚。 |
◆ ctx_
| Context const* xgboost::LinearUpdater::ctx_ |
|
protected |
此类的文档由以下文件生成
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/stable/include/xgboost/linear_updater.h