可由 RegTree 使用,并可由稀疏特征向量构造的稠密特征向量。更多...
#include <tree_model.h>
可以由 RegTree 使用,并可以由稀疏特征向量构建的密集特征向量。
◆ 数据()
◆ Drop()
  
  | 
        
          | void xgboost::RegTree::FVec::Drop | ( |  | ) |  |  | inline | 
 
 
◆ Fill()
◆ GetFvalue()
  
  | 
        
          | float xgboost::RegTree::FVec::GetFvalue | ( | size_t | i | ) | const |  | inline | 
 
 
◆ HasMissing() [1/2]
  
  | 
        
          | bool xgboost::RegTree::FVec::HasMissing | ( |  | ) | const |  | inline | 
 
 
◆ HasMissing() [2/2]
  
  | 
        
          | void xgboost::RegTree::FVec::HasMissing | ( | bool | has_missing | ) |  |  | inline | 
 
 
◆ Init()
  
  | 
        
          | void xgboost::RegTree::FVec::Init | ( | size_t | size | ) |  |  | inline | 
 
 
◆ IsMissing()
  
  | 
        
          | bool xgboost::RegTree::FVec::IsMissing | ( | size_t | i | ) | const |  | inline | 
 
检查第 i 个条目是否缺失
- 参数
- 
  
  
- 返回
- 第 i 个值是否缺失。
 
 
◆ Size()
  
  | 
        
          | size_t xgboost::RegTree::FVec::Size | ( |  | ) | const |  | inline | 
 
 
此结构体的文档生成自以下文件:
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/stable/include/xgboost/tree_model.h