稀疏批次的内存存储单元,以 CSR 格式存储。 更多...
#include <data.h>
◆ Inst
◆ SparsePage() [1/3]
  
  | 
        
          | xgboost::SparsePage::SparsePage | ( |  | ) |  |  | inline | 
 
 
◆ SparsePage() [2/3]
  
  | 
        
          | xgboost::SparsePage::SparsePage | ( | SparsePage const & | that | ) |  |  | 删除 | 
 
 
◆ SparsePage() [3/3]
  
  | 
        
          | xgboost::SparsePage::SparsePage | ( | SparsePage && | that | ) |  |  | 默认 | 
 
 
◆ ~SparsePage()
  
  | 
        
          | virtual xgboost::SparsePage::~SparsePage | ( |  | ) |  |  | virtualdefault | 
 
 
◆ Clear()
  
  | 
        
          | void xgboost::SparsePage::Clear | ( |  | ) |  |  | inline | 
 
 
◆ GetTranspose()
      
        
          | SparsePage xgboost::SparsePage::GetTranspose | ( | int | num_columns, | 
        
          |  |  | int32_t | n_threads | 
        
          |  | ) |  | const | 
      
 
 
◆ GetView()
◆ IsIndicesSorted()
      
        
          | bool xgboost::SparsePage::IsIndicesSorted | ( | int32_t | n_threads | ) | const | 
      
 
 
◆ MemCostBytes()
  
  | 
        
          | size_t xgboost::SparsePage::MemCostBytes | ( |  | ) | const |  | inline | 
 
 
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Push() [1/2]
template<typename AdapterBatchT >
      
        
          | bst_idx_t xgboost::SparsePage::Push | ( | AdapterBatchT const & | 批处理, | 
        
          |  |  | float | missing, | 
        
          |  |  | std::int32_t | nthread | 
        
          |  | ) |  |  | 
      
 
将外部数据批处理推送到此页面。
- 模板参数
- 
  
  
- 参数
- 
  
  
- 返回
- 在此输入批处理中遇到的最大列数。在推送许多适配器批处理以计算总列数时很有用。
 
 
◆ Push() [2/2]
      
        
          | void xgboost::SparsePage::Push | ( | const SparsePage & | 批处理 | ) |  | 
      
 
 
◆ PushCSC()
      
        
          | void xgboost::SparsePage::PushCSC | ( | const SparsePage & | 批处理 | ) |  | 
      
 
 
◆ Reindex()
      
        
          | void xgboost::SparsePage::Reindex | ( | uint64_t | feature_offset, | 
        
          |  |  | int32_t | n_threads | 
        
          |  | ) |  |  | 
      
 
 
◆ SetBaseRowId()
  
  | 
        
          | void xgboost::SparsePage::SetBaseRowId | ( | size_t | row_id | ) |  |  | inline | 
 
 
◆ Size()
  
  | 
        
          | size_t xgboost::SparsePage::Size | ( |  | ) | const |  | inline | 
 
 
◆ SortIndices()
      
        
          | void xgboost::SparsePage::SortIndices | ( | int32_t | n_threads | ) |  | 
      
 
 
◆ SortRows()
      
        
          | void xgboost::SparsePage::SortRows | ( | int32_t | n_threads | ) |  | 
      
 
 
◆ base_rowid
      
        
          | size_t xgboost::SparsePage::base_rowid {0} | 
      
 
 
◆ data
◆ offset
此类的文档由以下文件生成
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/stable/include/xgboost/data.h