xgboost
|
CSR-like matrix for categorical splits. More...
#include <tree_model.h>
Classes | |
struct | Segment |
Public Attributes | |
common::Span< FeatureType const > | split_type |
common::Span< uint32_t const > | categories |
common::Span< Segment const > | node_ptr |
CSR-like matrix for categorical splits.
The fields of split_categories_segments_[i] are set such that the range node_ptr[beg:(beg+size)] stores the bitset for the matching categories for the i-th node.
common::Span<uint32_t const> xgboost::RegTree::CategoricalSplitMatrix::categories |
common::Span<Segment const> xgboost::RegTree::CategoricalSplitMatrix::node_ptr |
common::Span<FeatureType const> xgboost::RegTree::CategoricalSplitMatrix::split_type |