xgboost
| 公共属性 | 所有成员列表
xgboost::RegTree::CategoricalSplitMatrix 结构体参考

用于分类分割的类 CSR 矩阵。 更多...

#include <tree_model.h>

xgboost::RegTree::CategoricalSplitMatrix 的协作图
Collaboration graph

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 个节点的匹配类别的位集。

成员数据文档

◆ categories

common::Span<uint32_t const> xgboost::RegTree::CategoricalSplitMatrix::categories

◆ node_ptr

common::Span<Segment const> xgboost::RegTree::CategoricalSplitMatrix::node_ptr

◆ split_type

common::Span<FeatureType const> xgboost::RegTree::CategoricalSplitMatrix::split_type

此结构体的文档生成自以下文件