|
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 |
| 特征值 更多... | |
稀疏向量中的元素。
|
默认 |
默认构造函数
|
inline |
带有索引和值的构造函数
| index | 特征或行索引。 |
| fvalue | 特征值。 |
|
inline |
| bst_float xgboost::Entry::fvalue |
特征值
| bst_feature_t xgboost::Entry::index |
特征索引