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

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

#include <tree_model.h>

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

结构  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

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