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:
Collaboration graph

Public Attributes

std::string ret_str
 result holder for returning string More...
 
std::vector< char > ret_char_vec
 result holder for returning raw buffer 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_floatret_vec_float
 returning float vector. More...
 
std::vector< GradientPairtmp_gpair
 temp variable of gradient pairs. More...
 
PredictionCacheEntry prediction_entry
 Temp variable for returning prediction result. More...
 
std::vector< bst_ulongprediction_shape
 Temp variable for returning 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 returning prediction result.

◆ prediction_shape

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

Temp variable for returning prediction shape.

◆ ret_char_vec

std::vector<char> xgboost::XGBAPIThreadLocalEntry::ret_char_vec

result holder for returning raw buffer

◆ 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: