Restrict access to cfg_ in gbm. (#4801)

* Restrict access to `cfg_` in gbm.

* Verify having correct updaters.

* Remove `grow_global_histmaker`

This updater is the same as `grow_histmaker`.  The former is not in our
document so we just remove it.
This commit is contained in:
Jiaming Yuan
2019-09-02 00:43:19 -04:00
committed by GitHub
parent 2aed0ae230
commit c0fbeff0ab
7 changed files with 99 additions and 72 deletions

View File

@@ -1460,7 +1460,7 @@ class GPUHistMaker : public TreeUpdater {
}
char const* Name() const override {
return "gpu_hist";
return "grow_gpu_hist";
}
private: