xgboost

Public Member Functions | Public Attributes | List of all members
xgboost::common::RowSetCollection::Elem Struct Reference

data structure to store an instance set, a subset of rows (instances) associated with a particular node in a decision tree. More...

`#include <row_set.h>`

Collaboration diagram for xgboost::common::RowSetCollection::Elem:

## Public Member Functions
| Elem ()=default
| Elem (const size_t *begin, const size_t *end, bst_node_t node_id=-1)
size_t | Size () const

## Public Attributes
const size_t * | begin {nullptr}
const size_t * | end {nullptr}
bst_node_t | node_id {-1}

## Detailed Description

data structure to store an instance set, a subset of rows (instances) associated with a particular node in a decision tree.

## Constructor & Destructor Documentation

## ◆ Elem() [1/2]

xgboost::common::RowSetCollection::Elem::Elem | ( |  | ) |
| default

## ◆ Elem() [2/2]

xgboost::common::RowSetCollection::Elem::Elem | ( | const size_t * | begin,
|  | const size_t * | end,
|  | bst_node_t | node_id = `-1`
| ) |  |
| inline

## Member Function Documentation

## ◆ Size()

size_t xgboost::common::RowSetCollection::Elem::Size | ( |  | ) | const
| inline

## Member Data Documentation

## ◆ begin

const size_t* xgboost::common::RowSetCollection::Elem::begin {nullptr}

## ◆ end

const size_t* xgboost::common::RowSetCollection::Elem::end {nullptr}

## ◆ node_id

bst_node_t xgboost::common::RowSetCollection::Elem::node_id {-1}

The documentation for this struct was generated from the following file:

- /home/runner/work/xgboost/xgboost/src/common/row_set.h