remove the qids_ field in MetaInfo (#4744)

This commit is contained in:
Rong Ou
2019-08-07 19:01:59 -07:00
committed by Jiaming Yuan
parent f22b1c0348
commit 19f9fd5de9
5 changed files with 13 additions and 19 deletions

View File

@@ -60,8 +60,6 @@ class MetaInfo {
std::vector<bst_uint> group_ptr_;
/*! \brief weights of each instance, optional */
HostDeviceVector<bst_float> weights_;
/*! \brief session-id of each instance, optional */
std::vector<uint64_t> qids_;
/*!
* \brief initialized margins,
* if specified, xgboost will start from this init margin
@@ -69,9 +67,9 @@ class MetaInfo {
*/
HostDeviceVector<bst_float> base_margin_;
/*! \brief version flag, used to check version of this info */
static const int kVersion = 2;
/*! \brief version that introduced qid field */
static const int kVersionQidAdded = 2;
static const int kVersion = 3;
/*! \brief version that contains qid field */
static const int kVersionWithQid = 2;
/*! \brief default constructor */
MetaInfo() = default;
/*!