Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Enumerations | Functions
data.h File Reference

Copyright 2015-2023 by XGBoost Contributors. More...

#include <dmlc/base.h>
#include <dmlc/data.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 <limits>
#include <memory>
#include <numeric>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Data Structures

class  xgboost::MetaInfo
 Meta information about dataset, always sit in memory. More...
 
struct  xgboost::Entry
 Element from a sparse vector. More...
 
struct  xgboost::BatchParam
 Parameters for constructing histogram index batches. More...
 
struct  xgboost::HostSparsePageView
 
class  xgboost::SparsePage
 In-memory storage unit of sparse batch, stored in CSR format. More...
 
class  xgboost::CSCPage
 
class  xgboost::ExtSparsePage
 Sparse page for exporting DMatrix. More...
 
class  xgboost::SortedCSCPage
 
class  xgboost::BatchIteratorImpl< T >
 
class  xgboost::BatchIterator< T >
 
class  xgboost::BatchSet< T >
 
class  xgboost::DMatrix
 Internal data structured used by XGBoost during training. More...
 
struct  dmlc::serializer::Handler< xgboost::Entry >
 

Namespaces

namespace  xgboost
 namespace of xgboost
 
namespace  dmlc
 namespace for dmlc
 
namespace  dmlc::serializer
 internal namespace for serializers
 

Enumerations

enum class  xgboost::DataType : uint8_t {
  kFloat32 = 1 , kDouble = 2 , kUInt32 = 3 , kUInt64 = 4 ,
  kStr = 5
}
 data type accepted by xgboost interface
 
enum class  FeatureType : uint8_t { kNumerical = 0 , kCategorical = 1 }
 
enum class  DataSplitMode : int { kRow = 0 , kCol = 1 }
 

Functions

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

Detailed Description

Copyright 2015-2023 by XGBoost Contributors.

The input data structure of xgboost.

Author
Tianqi Chen