xgboost
|
Mini batch used in XGBoost Data Iteration. More...
#include <c_api.h>
Public Attributes | |
size_t | size |
number of rows in the minibatch More... | |
size_t | columns |
int64_t * | offset |
row pointer to the rows in the data More... | |
float * | label |
labels of each instance More... | |
float * | weight |
weight of each instance, can be NULL More... | |
int * | index |
feature index More... | |
float * | value |
feature values More... | |
Mini batch used in XGBoost Data Iteration.
size_t XGBoostBatchCSR::columns |
int* XGBoostBatchCSR::index |
feature index
float* XGBoostBatchCSR::label |
labels of each instance
int64_t* XGBoostBatchCSR::offset |
row pointer to the rows in the data
size_t XGBoostBatchCSR::size |
number of rows in the minibatch
float* XGBoostBatchCSR::value |
feature values
float* XGBoostBatchCSR::weight |
weight of each instance, can be NULL