xgboost

Public Attributes | List of all members
xgboost::XGBAPIThreadLocalEntry Struct Reference

entry to to easily hold returning information More...

`#include <learner.h>`

Collaboration diagram for xgboost::XGBAPIThreadLocalEntry:

## Public Attributes
std::string | ret_str
| result holder for returning string More...
std::vector< std::string > | ret_vec_str
| result holder for returning strings More...
std::vector< const char * > | ret_vec_charp
| result holder for returning string pointers More...
std::vector< bst_float > | ret_vec_float
| returning float vector. More...
std::vector< GradientPair > | tmp_gpair
| temp variable of gradient pairs. More...
PredictionCacheEntry | prediction_entry
| Temp variable for returing prediction result. More...
std::vector< bst_ulong > | prediction_shape
| Temp variable for returing prediction shape. More...

## Detailed Description

entry to to easily hold returning information

## Member Data Documentation

## ◆ prediction_entry

PredictionCacheEntry xgboost::XGBAPIThreadLocalEntry::prediction_entry

Temp variable for returing prediction result.

## ◆ prediction_shape

std::vector<bst_ulong> xgboost::XGBAPIThreadLocalEntry::prediction_shape

Temp variable for returing prediction shape.

## ◆ ret_str

std::string xgboost::XGBAPIThreadLocalEntry::ret_str

result holder for returning string

## ◆ ret_vec_charp

std::vector<const char *> xgboost::XGBAPIThreadLocalEntry::ret_vec_charp

result holder for returning string pointers

## ◆ ret_vec_float

std::vector<bst_float> xgboost::XGBAPIThreadLocalEntry::ret_vec_float

returning float vector.

## ◆ ret_vec_str

std::vector<std::string> xgboost::XGBAPIThreadLocalEntry::ret_vec_str

result holder for returning strings

## ◆ tmp_gpair

std::vector<GradientPair> xgboost::XGBAPIThreadLocalEntry::tmp_gpair

temp variable of gradient pairs.

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

- /home/runner/work/xgboost/xgboost/include/xgboost/learner.h