Update dmlc-core
This commit is contained in:
parent
63c4ad7617
commit
413f119c7e
@ -1 +1 @@
|
|||||||
Subproject commit 53ab0280f4c1da4fd6f9cee22ce4716f04b3e712
|
Subproject commit 0f8fd38bf94e6666aa367be80195b1f2da87428c
|
||||||
@ -4,6 +4,7 @@
|
|||||||
* \brief Plugin to load in libsvm, but fill all the missing entries with zeros.
|
* \brief Plugin to load in libsvm, but fill all the missing entries with zeros.
|
||||||
* This plugin is mainly used for benchmark purposes and do not need to be included.
|
* This plugin is mainly used for benchmark purposes and do not need to be included.
|
||||||
*/
|
*/
|
||||||
|
#include <xgboost/base.h>
|
||||||
#include <dmlc/data.h>
|
#include <dmlc/data.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
#include "./sparse_batch_page.h"
|
#include "./sparse_batch_page.h"
|
||||||
#include "./simple_dmatrix.h"
|
#include "./simple_dmatrix.h"
|
||||||
#include "./simple_csr_source.h"
|
#include "./simple_csr_source.h"
|
||||||
|
#include "../common/common.h"
|
||||||
#include "../common/io.h"
|
#include "../common/io.h"
|
||||||
|
|
||||||
#if DMLC_ENABLE_STD_THREAD
|
#if DMLC_ENABLE_STD_THREAD
|
||||||
|
|||||||
@ -651,7 +651,7 @@ class GlobalProposalHistMaker: public CQHistMaker<TStats> {
|
|||||||
DMatrix *p_fmat,
|
DMatrix *p_fmat,
|
||||||
const std::vector<bst_uint> &fset,
|
const std::vector<bst_uint> &fset,
|
||||||
const RegTree &tree) override {
|
const RegTree &tree) override {
|
||||||
if (this->qexpand.size() == 1 && !this->param.cache_global_proposal) {
|
if (this->qexpand.size() == 1) {
|
||||||
cached_rptr_.clear();
|
cached_rptr_.clear();
|
||||||
cached_cut_.clear();
|
cached_cut_.clear();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user