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