[jvm-packages] xgboost4j-spark external memory (#1219)

* implement external memory support for XGBoost4J

* remove extra space

* enable external memory for prediction

* update doc
This commit is contained in:
Nan Zhu
2016-05-22 14:01:28 -04:00
parent 587999755f
commit c85b9012c6
8 changed files with 62 additions and 16 deletions

View File

@@ -201,7 +201,6 @@ void SparsePageSource::Create(DMatrix* src,
<< (bytes_write >> 20UL) << " written";
}
}
if (page->data.size() != 0) {
writer.PushWrite(std::move(page));
}