Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Functions
xgboost::data::detail Namespace Reference

Copyright 2023, XGBoost Contributors. More...

Data Structures

class  NoMetaInfo
 Indicates this data source cannot contain meta-info such as labels, weights or qid. More...
 
class  SingleBatchDataIter
 Simplifies the use of DataIter when there is only one batch. More...
 

Functions

void CheckEmpty (BatchParam const &l, BatchParam const &r)
 
bool RegenGHist (BatchParam old, BatchParam p)
 Should we regenerate the gradient index?
 
std::size_t NSamplesDevice (DMatrixProxy *)
 
std::size_t NFeaturesDevice (DMatrixProxy *)
 

Detailed Description

Copyright 2023, XGBoost Contributors.

Function Documentation

◆ RegenGHist()

bool xgboost::data::detail::RegenGHist ( BatchParam  old,
BatchParam  p 
)
inline

Should we regenerate the gradient index?

Parameters
oldParameter stored in DMatrix.
pNew parameter passed in by caller.