Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Typedefs | Enumerations | Variables
adapter.h File Reference
#include <dmlc/data.h>
#include <algorithm>
#include <cstddef>
#include <functional>
#include <limits>
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "../c_api/c_api_error.h"
#include "../common/error_msg.h"
#include "../common/math.h"
#include "array_interface.h"
#include "arrow-cdi.h"
#include "xgboost/base.h"
#include "xgboost/data.h"
#include "xgboost/logging.h"
#include "xgboost/span.h"
#include "xgboost/string_view.h"

Go to the source code of this file.

Data Structures

struct  xgboost.data::COOTuple
 
struct  xgboost.data::IsValidFunctor
 
class  xgboost.data::detail::SingleBatchDataIter< DType >
 Simplifies the use of DataIter when there is only one batch. More...
 
class  xgboost.data::detail::NoMetaInfo
 Indicates this data source cannot contain meta-info such as labels, weights or qid. More...
 
class  xgboost.data::CSRAdapterBatch
 
class  xgboost.data::CSRAdapterBatch::Line
 
class  xgboost.data::CSRAdapter
 
class  xgboost.data::DenseAdapterBatch
 
class  xgboost.data::DenseAdapter
 
class  xgboost.data::ArrayAdapterBatch
 
class  xgboost.data::ArrayAdapter
 Adapter for dense array on host, in Python that's numpy.ndarray. More...
 
class  xgboost.data::CSRArrayAdapterBatch
 
class  xgboost.data::CSRArrayAdapter
 Adapter for CSR array on host, in Python that's scipy.sparse.csr_matrix. More...
 
class  xgboost.data::CSCAdapterBatch
 
class  xgboost.data::CSCAdapter
 
class  xgboost.data::CSCArrayAdapterBatch
 
class  xgboost.data::CSCArrayAdapter
 CSC adapter with support for array interface. More...
 
class  xgboost.data::DataTableAdapterBatch
 
class  xgboost.data::DataTableAdapter
 
class  xgboost.data::FileAdapterBatch
 
class  xgboost.data::FileAdapterBatch::Line
 
class  xgboost.data::FileAdapter
 FileAdapter wraps dmlc::parser to read files and provide access in a common interface. More...
 
class  xgboost.data::IteratorAdapter< DataIterHandle, XGBCallbackDataIterNext, XGBoostBatchCSR >
 Data iterator that takes callback to return data, used in JVM package for accepting data iterator. More...
 
class  xgboost.data::Column
 
class  xgboost.data::PrimitiveColumn< T >
 
struct  xgboost.data::ColumnarMetaInfo
 
struct  xgboost.data::ArrowSchemaImporter
 
class  xgboost.data::ArrowColumnarBatch
 
class  xgboost.data::RecordBatchesIterAdapter
 
class  xgboost.data::SparsePageAdapterBatch
 
struct  xgboost.data::SparsePageAdapterBatch::Line
 

Namespaces

namespace  xgboost
 namespace of xgboost
 
namespace  xgboost.data
 Copyright 2019-2023, XGBoost Contributors.
 
namespace  xgboost::data::detail
 Copyright 2023, XGBoost Contributors.
 

Typedefs

using xgboost.data::ArrowColumnarBatchVec = std::vector< std::unique_ptr< ArrowColumnarBatch > >
 

Enumerations

enum  ColumnDType : uint8_t {
  kUnknown , kInt8 , kUInt8 , kInt16 ,
  kUInt16 , kInt32 , kUInt32 , kInt64 ,
  kUInt64 , kFloat , kDouble
}
 

Variables

constexpr size_t xgboost.data::kAdapterUnknownSize = std::numeric_limits<size_t >::max()
 External data formats should implement an adapter as below.
 

Detailed Description

Copyright (c) 2019~2021 by Contributors