Check external memory support for exact tree method. (#7088)
This commit is contained in:
@@ -98,6 +98,10 @@ class ColMaker: public TreeUpdater {
|
||||
LOG(FATAL) << "Updater `grow_colmaker` or `exact` tree method doesn't "
|
||||
"support distributed training.";
|
||||
}
|
||||
if (!dmat->SingleColBlock()) {
|
||||
LOG(FATAL) << "Updater `grow_colmaker` or `exact` tree method doesn't "
|
||||
"support external memory training.";
|
||||
}
|
||||
this->LazyGetColumnDensity(dmat);
|
||||
// rescale learning rate according to size of trees
|
||||
float lr = param_.learning_rate;
|
||||
|
||||
Reference in New Issue
Block a user