Commit 0bf0ec03 authored by Guolin Ke's avatar Guolin Ke
Browse files

fix #481 .

parent a39141e1
...@@ -311,7 +311,6 @@ void GBDT::Bagging(int iter) { ...@@ -311,7 +311,6 @@ void GBDT::Bagging(int iter) {
} }
OMP_THROW_EX(); OMP_THROW_EX();
bag_data_cnt_ = left_cnt; bag_data_cnt_ = left_cnt;
CHECK(bag_data_indices_[bag_data_cnt_ - 1] > bag_data_indices_[bag_data_cnt_]);
Log::Debug("Re-bagging, using %d data to train", bag_data_cnt_); Log::Debug("Re-bagging, using %d data to train", bag_data_cnt_);
// set bagging data to tree learner // set bagging data to tree learner
if (!is_use_subset_) { if (!is_use_subset_) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment