xgboost
|
用于分类分割的类 CSR 矩阵。 更多...
#include <tree_model.h>
类 | |
struct | Segment |
公共属性 | |
common::Span< FeatureType const > | split_type |
common::Span< uint32_t const > | categories |
common::Span< Segment const > | node_ptr |
用于分类分割的类 CSR 矩阵。
split_categories_segments_[i] 的字段设置使得范围 node_ptr[beg:(beg+size)] 存储第 i 个节点的匹配类别的位集。
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 |