Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Data Fields
xgboost::RegTree::CategoricalSplitMatrix Struct Reference

CSR-like matrix for categorical splits. More...

#include <tree_model.h>

Data Structures

struct  Segment
 

Data Fields

common::Span< FeatureType const > split_type
 
common::Span< uint32_t const > categories
 
common::Span< Segment const > node_ptr
 

Detailed Description

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.


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