|
xgboost
|
Element from a sparse vector. More...
#include <data.h>

Public Member Functions | |
| Entry ()=default | |
| default constructor More... | |
| XGBOOST_DEVICE | Entry (bst_feature_t index, bst_float fvalue) |
| constructor with index and value More... | |
| bool | operator== (const Entry &other) const |
Static Public Member Functions | |
| static bool | CmpValue (const Entry &a, const Entry &b) |
| reversely compare feature values More... | |
Public Attributes | |
| bst_feature_t | index |
| feature index More... | |
| bst_float | fvalue |
| feature value More... | |
Element from a sparse vector.
|
default |
default constructor
|
inline |
constructor with index and value
| index | The feature or row index. |
| fvalue | The feature value. |
reversely compare feature values
|
inline |
| bst_float xgboost::Entry::fvalue |
feature value
| bst_feature_t xgboost::Entry::index |
feature index
1.8.17