xgboost
|
Element from a sparse vector. More...
#include <data.h>
Public Member Functions | |
Entry ()=default | |
default constructor More... | |
Entry (bst_uint 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_uint | index |
feature index More... | |
bst_float | fvalue |
feature value More... | |
Element from a sparse vector.
|
default |
default constructor
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_uint xgboost::Entry::index |
feature index