xgboost

Public Attributes | List of all members
XGBoostBatchCSR Struct Reference

Mini batch used in XGBoost Data Iteration. More...

`#include <c_api.h>`

Collaboration diagram for XGBoostBatchCSR:

## 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...

## Detailed Description

Mini batch used in XGBoost Data Iteration.

## Member Data Documentation

## ◆ columns

size_t XGBoostBatchCSR::columns

## ◆ index

int* XGBoostBatchCSR::index

feature index

## ◆ label

float* XGBoostBatchCSR::label

labels of each instance

## ◆ offset

int64_t* XGBoostBatchCSR::offset

row pointer to the rows in the data

## ◆ size

size_t XGBoostBatchCSR::size

number of rows in the minibatch

## ◆ value

float* XGBoostBatchCSR::value

feature values

## ◆ weight

float* XGBoostBatchCSR::weight

weight of each instance, can be NULL

The documentation for this struct was generated from the following file:

- /workspace/include/xgboost/c_api.h