xgboost
| 命名空间 |
predictor.h 文件参考

预测器接口,用于为梯度提升器执行预测。更多...

#include <dmlc/registry.h>
#include <xgboost/base.h>
#include <xgboost/cache.h>
#include <xgboost/context.h>
#include <xgboost/data.h>
#include <xgboost/host_device_vector.h>
#include <functional>
#include <memory>
#include <string>
#include <vector>
predictor.h 的包含依赖图

转到此文件的源代码。

结构  xgboost::PredictionCacheEntry
 包含指向输入矩阵和关联的缓存预测的指针。更多...
 
类  xgboost::PredictionContainer
 用于管理预测缓存的容器。更多...
 
类  xgboost::Predictor
 对 GBTree 的单个训练实例或批量实例执行预测。所有预测函数都将 GBTreeModel 和 DMatrix 作为输入,并输出预测向量。预测器不修改模型本身的任何状态。更多...
 
结构  xgboost::PredictorReg
 预测器注册表条目。更多...
 

命名空间

 xgboost
 Learner 接口,将目标、gbm 和评估整合在一起。这是用户界面 XGBoost 训练模块。
 
 xgboost::gbm
 

#define XGBOOST_REGISTER_PREDICTOR(UniqueId, Name)
 

详细描述

预测器接口,用于为梯度提升器执行预测。

版权所有 2017-2025,XGBoost 贡献者

宏定义文档

◆ XGBOOST_REGISTER_PREDICTOR

#define XGBOOST_REGISTER_PREDICTOR (   UniqueId,
  Name 
)
static DMLC_ATTRIBUTE_UNUSED ::xgboost::PredictorReg& \
__make_##PredictorReg##_##UniqueId##__ = \
::dmlc::Registry<::xgboost::PredictorReg>::Get()->__REGISTER__(Name)