线性更新器的接口 更多...
#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 | 数据的梯度对统计信息。 |
data | 输入数据矩阵。 |
model | 待更新的模型。 |
sum_instance_weight | 实例权重的总和,用于归一化 l1/l2 惩罚。 |
◆ ctx_
Context const* xgboost::LinearUpdater::ctx_ |
|
保护 |
此类文档生成自以下文件
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/release_3.0.0/include/xgboost/linear_updater.h