|
void | InitData (DMatrix *p_fmat, RegTree const *p_tree, common::Span< float > hess) |
|
CPUExpandEntry | InitRoot (DMatrix *p_fmat, std::vector< GradientPair > const &gpair, common::Span< float > hess, RegTree *p_tree) |
|
void | UpdatePredictionCache (DMatrix const *data, linalg::MatrixView< float > out_preds) const |
|
void | BuildHistogram (DMatrix *p_fmat, RegTree *p_tree, std::vector< CPUExpandEntry > const &valid_candidates, std::vector< GradientPair > const &gpair, common::Span< float > hess) |
|
void | LeafPartition (RegTree const &tree, common::Span< float const > hess, std::vector< bst_node_t > *p_out_position) |
|
| GloablApproxBuilder (TrainParam const *param, HistMakerTrainParam const *hist_param, MetaInfo const &info, Context const *ctx, std::shared_ptr< common::ColumnSampler > column_sampler, ObjInfo const *task, common::Monitor *monitor) |
|
void | UpdateTree (DMatrix *p_fmat, std::vector< GradientPair > const &gpair, common::Span< float > hess, RegTree *p_tree, HostDeviceVector< bst_node_t > *p_out_position) |
|
◆ UpdateTree()
Note for update position Root: Not applied: No need to update position as initialization has got all the rows ordered. Applied: Update position is run on applied nodes so the rows are partitioned. Non-root: Not applied: That node is root of the subtree, same rule as root. Applied: Ditto
The documentation for this class was generated from the following file:
- External/xgboost/src/tree/updater_approx.cc