xgboost icon indicating copy to clipboard operation
xgboost copied to clipboard

what is fsplit_set in updater_histmaker.cc used for

Open xjqbest opened this issue 8 years ago • 1 comments

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

xjqbest avatar Apr 28 '18 05:04 xjqbest

new questions are now encouraged at https://discuss.xgboost.ai/

tqchen avatar Jul 04 '18 18:07 tqchen