Combine TreeModel and RegTree (#3995)

This commit is contained in:
Rory Mitchell
2018-12-19 12:16:40 +13:00
committed by GitHub
parent c055a32609
commit 84c99f86f4
10 changed files with 559 additions and 605 deletions

View File

@@ -291,8 +291,6 @@ TEST(GpuHist, EvaluateSplits) {
false);
RegTree tree;
tree.InitModel();
MetaInfo info;
info.num_row_ = n_rows;
info.num_col_ = n_cols;
@@ -339,7 +337,6 @@ TEST(GpuHist, ApplySplit) {
// Initialize GPUHistMaker
hist_maker.param_ = param;
RegTree tree;
tree.InitModel();
DeviceSplitCandidate candidate;
candidate.Update(2, kLeftDir,