Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros
predictor.h File Reference

Copyright 2017-2023 by Contributors. More...

#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 <utility>
#include <vector>

Go to the source code of this file.

Data Structures

struct  xgboost::PredictionCacheEntry
 Contains pointer to input matrix and associated cached predictions. More...
 
class  xgboost::PredictionContainer
 A container for managed prediction caches. More...
 
class  xgboost::Predictor
 Performs prediction on individual training instances or batches of instances for GBTree. More...
 
struct  xgboost::PredictorReg
 Registry entry for predictor. More...
 

Namespaces

namespace  xgboost
 namespace of xgboost
 
namespace  xgboost::gbm
 Copyright 2019-2023, XGBoost Contributors.
 

Macros

#define XGBOOST_REGISTER_PREDICTOR(UniqueId, Name)
 

Detailed Description

Copyright 2017-2023 by Contributors.

Interface of predictor, performs predictions for a gradient booster.

Macro Definition Documentation

◆ XGBOOST_REGISTER_PREDICTOR

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