|
Medial Code Documentation
|
Element from a sparse vector. More...
Public Member Functions | |
| EntryOneAPI ()=default | |
| default constructor | |
| EntryOneAPI (bst_feature_t index, bst_float fvalue) | |
| constructor with index and value | |
| EntryOneAPI (const Entry &entry) | |
| bool | operator== (const EntryOneAPI &other) const |
Static Public Member Functions | |
| static bool | CmpValue (const EntryOneAPI &a, const EntryOneAPI &b) |
| reversely compare feature values | |
Data Fields | |
| bst_feature_t | index |
| feature index | |
| bst_float | fvalue |
| feature value | |
Element from a sparse vector.
|
inline |
constructor with index and value
| index | The feature or row index. |
| fvalue | The feature value. |