xgboost
xgboost copied to clipboard
what is fsplit_set in updater_histmaker.cc used for
is fsplit_set always a subset of work_set ? when I see this,I am confused
// TWOPASS: use the real set + split set in the column iteration.
this->SetDefaultPostion(p_fmat, tree);
this->work_set.insert(this->work_set.end(), this->fsplit_set.begin(), this->fsplit_set.end());
std::sort(this->work_set.begin(), this->work_set.end());
this->work_set.resize(
std::unique(this->work_set.begin(), this->work_set.end()) - this->work_set.begin());
// set of index from fset that are current work set
std::vector<bst_uint> work_set;
// set of index from that are split candidates.
std::vector<bst_uint> fsplit_set;
can anyone explain it,thank you
new questions are now encouraged at https://discuss.xgboost.ai/