xgboost
|
稀疏向量中的元素。 更多...
#include <data.h>
公有成员函数 | |
Entry ()=default | |
默认构造函数 更多... | |
XGBOOST_DEVICE | Entry (bst_feature_t index, bst_float fvalue) |
带索引和值的构造函数 更多... | |
bool | operator== (const Entry &other) const |
静态公有成员函数 | |
static bool | CmpValue (const Entry &a, const Entry &b) |
反向比较特征值 更多... | |
static bool | CmpIndex (Entry const &a, Entry const &b) |
公有属性 | |
bst_feature_t | index |
特征索引 更多... | |
bst_float | fvalue |
特征值 更多... | |
稀疏向量中的元素。
|
default |
默认构造函数
|
inline |
带索引和值的构造函数
index | 特征或行索引。 |
fvalue | 特征值。 |
|
inline |
bst_float xgboost::Entry::fvalue |
特征值
bst_feature_t xgboost::Entry::index |
特征索引