Medial Code Documentation
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
data.cc File Reference

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

#include "xgboost/data.h"
#include <dmlc/registry.h>
#include <algorithm>
#include <atomic>
#include <cmath>
#include <cstdint>
#include <cstring>
#include <exception>
#include <iostream>
#include <map>
#include <numeric>
#include <tuple>
#include <type_traits>
#include "../collective/communicator-inl.h"
#include "../collective/communicator.h"
#include "../common/algorithm.h"
#include "../common/api_entry.h"
#include "../common/common.h"
#include "../common/error_msg.h"
#include "../common/group_data.h"
#include "../common/io.h"
#include "../common/linalg_op.h"
#include "../common/math.h"
#include "../common/numeric.h"
#include "../common/threading_utils.h"
#include "../common/version.h"
#include "../data/adapter.h"
#include "../data/iterative_dmatrix.h"
#include "./sparse_page_dmatrix.h"
#include "array_interface.h"
#include "dmlc/base.h"
#include "dmlc/common.h"
#include "dmlc/data.h"
#include "dmlc/endian.h"
#include "dmlc/io.h"
#include "dmlc/thread_local.h"
#include "ellpack_page.h"
#include "file_iterator.h"
#include "gradient_index.h"
#include "simple_dmatrix.h"
#include "sparse_page_writer.h"
#include "validation.h"
#include "xgboost/base.h"
#include "xgboost/context.h"
#include "xgboost/host_device_vector.h"
#include "xgboost/learner.h"
#include "xgboost/linalg.h"
#include "xgboost/logging.h"
#include "xgboost/span.h"
#include "xgboost/string_view.h"

Namespaces

namespace  dmlc
 namespace for dmlc
 
namespace  xgboost
 namespace of xgboost
 
namespace  xgboost.data
 Copyright 2019-2023, XGBoost Contributors.
 

Typedefs

using xgboost::DMatrixThreadLocal = dmlc::ThreadLocalStore< std::map< DMatrix const *, XGBAPIThreadLocalEntry > >
 

Functions

 dmlc::DMLC_REGISTRY_ENABLE (::xgboost::data::SparsePageFormatReg<::xgboost::SparsePage >)
 
 dmlc::DMLC_REGISTRY_ENABLE (::xgboost::data::SparsePageFormatReg<::xgboost::CSCPage >)
 
 dmlc::DMLC_REGISTRY_ENABLE (::xgboost::data::SparsePageFormatReg<::xgboost::SortedCSCPage >)
 
 dmlc::DMLC_REGISTRY_ENABLE (::xgboost::data::SparsePageFormatReg<::xgboost::EllpackPage >)
 
 dmlc::DMLC_REGISTRY_ENABLE (::xgboost::data::SparsePageFormatReg<::xgboost::GHistIndexMatrix >)
 
void xgboost::LoadFeatureType (std::vector< std::string >const &type_names, std::vector< FeatureType > *types)
 
template<typename T >
std::vector< T > xgboost::Gather (const std::vector< T > &in, common::Span< int const > ridxs, size_t stride=1)
 
template DMatrixxgboost::DMatrix::Create< data::DenseAdapter > (data::DenseAdapter *adapter, float missing, std::int32_t nthread, const std::string &cache_prefix, DataSplitMode data_split_mode)
 
template DMatrixxgboost::DMatrix::Create< data::ArrayAdapter > (data::ArrayAdapter *adapter, float missing, std::int32_t nthread, const std::string &cache_prefix, DataSplitMode data_split_mode)
 
template DMatrixxgboost::DMatrix::Create< data::CSRAdapter > (data::CSRAdapter *adapter, float missing, std::int32_t nthread, const std::string &cache_prefix, DataSplitMode data_split_mode)
 
template DMatrixxgboost::DMatrix::Create< data::CSCAdapter > (data::CSCAdapter *adapter, float missing, std::int32_t nthread, const std::string &cache_prefix, DataSplitMode data_split_mode)
 
template DMatrixxgboost::DMatrix::Create< data::DataTableAdapter > (data::DataTableAdapter *adapter, float missing, std::int32_t nthread, const std::string &cache_prefix, DataSplitMode data_split_mode)
 
template DMatrixxgboost::DMatrix::Create< data::FileAdapter > (data::FileAdapter *adapter, float missing, std::int32_t nthread, const std::string &cache_prefix, DataSplitMode data_split_mode)
 
template DMatrixxgboost::DMatrix::Create< data::CSRArrayAdapter > (data::CSRArrayAdapter *adapter, float missing, std::int32_t nthread, const std::string &cache_prefix, DataSplitMode data_split_mode)
 
template DMatrixxgboost::DMatrix::Create< data::CSCArrayAdapter > (data::CSCArrayAdapter *adapter, float missing, std::int32_t nthread, const std::string &cache_prefix, DataSplitMode data_split_mode)
 
template DMatrixxgboost::DMatrix::Create< data::RecordBatchesIterAdapter > (data::RecordBatchesIterAdapter *adapter, float missing, int nthread, const std::string &, DataSplitMode data_split_mode)
 
 xgboost.data::DMLC_REGISTRY_LINK_TAG (sparse_page_raw_format)
 
 xgboost.data::DMLC_REGISTRY_LINK_TAG (gradient_index_format)
 

Detailed Description

Copyright 2015-2023 by XGBoost Contributors.