|  | 
|  | ~GradientBooster () override=default | 
|  | 虚析构函数 更多... 
 | 
|  | 
| virtual void | Configure (Args const &cfg)=0 | 
|  | 设置梯度提升的配置。用户必须在 InitModel 和 Training 之前调用一次配置。 更多... 
 | 
|  | 
| virtual void | Slice (bst_layer_t, bst_layer_t, bst_layer_t, GradientBooster *, bool *) const | 
|  | 使用提升索引切片模型。切片 m:n 表示获取在提升轮次 m, (m+1), (m+2), ..., (n-1) 期间拟合的所有树。 更多... 
 | 
|  | 
| virtual std::int32_t | BoostedRounds () const =0 | 
|  | 返回提升轮次数量。 更多... 
 | 
|  | 
| virtual bool | ModelFitted () const =0 | 
|  | 模型是否已经训练。如果选择了树增强器,则在存在现有树时返回 true。 更多... 
 | 
|  | 
| virtual void | DoBoost (DMatrix *p_fmat, linalg::Matrix< GradientPair > *in_gpair, PredictionCacheEntry *, ObjFunction const *obj)=0 | 
|  | 执行模型更新(提升) 更多... 
 | 
|  | 
| virtual void | PredictBatch (DMatrix *dmat, PredictionCacheEntry *out_preds, bool training, bst_layer_t begin, bst_layer_t end)=0 | 
|  | 为给定的特征矩阵生成预测。 更多... 
 | 
|  | 
| virtual void | InplacePredict (std::shared_ptr< DMatrix >, float, PredictionCacheEntry *, bst_layer_t, bst_layer_t) const | 
|  | 原地预测。 更多... 
 | 
|  | 
| virtual void | PredictLeaf (DMatrix *dmat, HostDeviceVector< bst_float > *out_preds, unsigned layer_begin, unsigned layer_end)=0 | 
|  | 预测每棵树的叶子索引,输出将是 nsample * ntree 向量,这仅在 gbtree 预测器中有效 更多... 
 | 
|  | 
| virtual void | PredictContribution (DMatrix *dmat, HostDeviceVector< float > *out_contribs, bst_layer_t layer_begin, bst_layer_t layer_end, bool approximate=false)=0 | 
|  | 对个体预测的特征贡献;输出将是一个长度为 (nfeats + 1) * num_output_group * nsample 的向量,按此顺序排列 更多... 
 | 
|  | 
| virtual void | PredictInteractionContributions (DMatrix *dmat, HostDeviceVector< float > *out_contribs, bst_layer_t layer_begin, bst_layer_t layer_end, bool approximate)=0 | 
|  | 
| virtual std::vector< std::string > | DumpModel (const FeatureMap &fmap, bool with_stats, std::string format) const =0 | 
|  | 以请求的格式转储模型 更多... 
 | 
|  | 
| virtual void | FeatureScore (std::string const &importance_type, common::Span< int32_t const > trees, std::vector< bst_feature_t > *features, std::vector< float > *scores) const =0 | 
|  | 
| virtual CatContainer const * | Cats () const | 
|  | 类别的 Getter。 更多... 
 | 
|  | 
| virtual | ~Model ()=default | 
|  | 
| virtual void | LoadModel (Json const &in)=0 | 
|  | 从 JSON 对象加载模型 更多... 
 | 
|  | 
| virtual void | SaveModel (Json *out) const =0 | 
|  | 将模型配置保存到 JSON 对象 更多... 
 | 
|  | 
| virtual | ~Configurable ()=default | 
|  | 
| virtual void | LoadConfig (Json const &in)=0 | 
|  | 从 JSON 对象加载配置。 更多... 
 | 
|  | 
| virtual void | SaveConfig (Json *out) const =0 | 
|  | 将配置保存到 JSON 对象。 更多... 
 | 
|  |