Medial Code Documentation
|
collection of rowset More...
#include <row_set.h>
Data Structures | |
struct | Elem |
data structure to store an instance set, a subset of rows (instances) associated with a particular node in a decision tree. More... | |
Public Member Functions | |
RowSetCollection (RowSetCollection const &)=delete | |
RowSetCollection (RowSetCollection &&)=default | |
RowSetCollection & | operator= (RowSetCollection const &)=delete |
RowSetCollection & | operator= (RowSetCollection &&)=default |
std::vector< Elem >::const_iterator | begin () const |
std::vector< Elem >::const_iterator | end () const |
size_t | Size () const |
const Elem & | operator[] (unsigned node_id) const |
return corresponding element set given the node_id | |
Elem & | operator[] (unsigned node_id) |
return corresponding element set given the node_id | |
void | Clear () |
void | Init () |
std::vector< size_t > * | Data () |
std::vector< size_t > const * | Data () const |
void | AddSplit (unsigned node_id, unsigned left_node_id, unsigned right_node_id, size_t n_left, size_t n_right) |
collection of rowset