xgboost
| 命名空间 | 枚举 | 函数
data.h 文件参考

xgboost 的输入数据结构。 更多...

#include <dmlc/base.h>
#include <dmlc/io.h>
#include <dmlc/serializer.h>
#include <xgboost/base.h>
#include <xgboost/host_device_vector.h>
#include <xgboost/linalg.h>
#include <xgboost/span.h>
#include <xgboost/string_view.h>
#include <algorithm>
#include <cstdint>
#include <limits>
#include <memory>
#include <string>
#include <utility>
#include <vector>
data.h 的包含依赖图
此图显示哪些文件直接或间接包含此文件

转到此文件的源代码。

类  xgboost::MetaInfo
 关于数据集的元信息,始终驻留在内存中。 更多...
 
结构  xgboost::Entry
 稀疏向量中的元素。 更多...
 
结构  xgboost::BatchParam
 用于构建直方图索引批次的参数。 更多...
 
结构  xgboost::HostSparsePageView
 
类  xgboost::SparsePage
 稀疏批次的内存存储单元,以 CSR 格式存储。 更多...
 
类  xgboost::CSCPage
 
类  xgboost::ExtSparsePage
 用于导出 DMatrix 的稀疏页面。与 SparsePage 相同,只是类型不同,以防止在内部使用。 更多...
 
类  xgboost::SortedCSCPage
 
类  xgboost::BatchIteratorImpl< T >
 
类  xgboost::BatchIterator< T >
 
类  xgboost::BatchSet< T >
 
结构  xgboost::ExtMemConfig
 
类  xgboost::DMatrix
 XGBoost 内部使用的数据结构,用于保存所有外部数据。更多...
 
结构  dmlc::serializer::Handler< xgboost::Entry >
 

命名空间

 xgboost
 Learner 接口,将目标、gbm 和评估整合在一起。这是用户界面 XGBoost 训练模块。
 
 dmlc
 
 dmlc::serializer
 

枚举

枚举类  xgboost::DataType : uint8_t {
  xgboost::kFloat32 = 1 , xgboost::kDouble = 2 , xgboost::kUInt32 = 3 , xgboost::kUInt64 = 4 ,
  xgboost::kStr = 5
}
 xgboost 接口接受的数据类型 更多...
 
枚举类  xgboost::FeatureType : uint8_t { xgboost::kNumerical = 0 , xgboost::kCategorical = 1 }
 
枚举类  xgboost::DataSplitMode : int { xgboost::kRow = 0 , xgboost::kCol = 1 }
 

函数

 DECLARE_FIELD_ENUM_CLASS (xgboost::DataSplitMode)
 
 dmlc::DMLC_DECLARE_TRAITS (is_pod, xgboost::Entry, true)
 

详细描述

xgboost 的输入数据结构。

版权所有 2015-2025, XGBoost 贡献者

作者
陈天奇

函数文档

◆ DECLARE_FIELD_ENUM_CLASS()

DECLARE_FIELD_ENUM_CLASS ( xgboost::DataSplitMode  )