collection of rowset
More...
#include <row_set.h>
|
struct | Elem |
| data structure to store an instance set, a subset of rows (instances) associated with a particular node in a decision tree. More...
|
|
struct | Split |
|
|
std::vector< Elem >::const_iterator | begin () const |
|
std::vector< Elem >::const_iterator | end () const |
|
const Elem & | operator[] (unsigned node_id) const |
| return corresponding element set given the node_id More...
|
|
void | Clear () |
|
void | Init () |
|
void | AddSplit (unsigned node_id, const std::vector< Split > &row_split_tloc, unsigned left_node_id, unsigned right_node_id) |
|
◆ AddSplit()
void xgboost::common::RowSetCollection::AddSplit |
( |
unsigned |
node_id, |
|
|
const std::vector< Split > & |
row_split_tloc, |
|
|
unsigned |
left_node_id, |
|
|
unsigned |
right_node_id |
|
) |
| |
|
inline |
◆ begin()
std::vector<Elem>::const_iterator xgboost::common::RowSetCollection::begin |
( |
| ) |
const |
|
inline |
◆ Clear()
void xgboost::common::RowSetCollection::Clear |
( |
| ) |
|
|
inline |
◆ end()
std::vector<Elem>::const_iterator xgboost::common::RowSetCollection::end |
( |
| ) |
const |
|
inline |
◆ Init()
void xgboost::common::RowSetCollection::Init |
( |
| ) |
|
|
inline |
◆ operator[]()
const Elem& xgboost::common::RowSetCollection::operator[] |
( |
unsigned |
node_id | ) |
const |
|
inline |
return corresponding element set given the node_id
◆ row_indices_
std::vector<size_t> xgboost::common::RowSetCollection::row_indices_ |
The documentation for this class was generated from the following file: