|
#define | XGBOOST_STRICT_R_MODE 0 |
| string flag for R library, to leave hooks when needed.
|
|
#define | XGBOOST_LOG_WITH_TIME 1 |
| Whether always log console message with time. It will display like, with timestamp appended to head of the message. "[21:47:50] 6513x126 matrix with 143286 entries loaded from
../data/agaricus.txt.train".
|
|
#define | XGBOOST_CUSTOMIZE_GLOBAL_PRNG XGBOOST_STRICT_R_MODE |
| Whether to customize global PRNG.
|
|
#define | XGBOOST_ALIGNAS(X) |
| Check if alignas(*) keyword is supported. (g++ 4.8 or higher)
|
|
#define | XGBOOST_EXPECT(cond, ret) (cond) |
|
#define | XGBOOST_DEVICE |
| Tag function as usable by device.
|
|
#define | XGBOOST_HOST_DEV_INLINE |
|
#define | XGBOOST_DEV_INLINE |
|
|
using | xgboost::bst_uint = uint32_t |
| unsigned integer type used for feature index.
|
|
using | xgboost::bst_ulong = uint64_t |
| unsigned long integers
|
|
using | xgboost::bst_float = float |
| float type, used for storing statistics
|
|
using | xgboost::bst_cat_t = int32_t |
| Categorical value type.
|
|
using | xgboost::bst_feature_t = uint32_t |
| Type for data column (feature) index.
|
|
using | xgboost::bst_bin_t = int32_t |
| Type for histogram bin index.
|
|
using | xgboost::bst_row_t = std::size_t |
| Type for data row index.
|
|
using | xgboost::bst_node_t = std::int32_t |
| Type for tree node index.
|
|
using | xgboost::bst_group_t = std::uint32_t |
| Type for ranking group index.
|
|
using | xgboost::bst_target_t = std::uint32_t |
| Type for indexing into output targets.
|
|
using | xgboost::bst_layer_t = std::int32_t |
| Type for indexing boosted layers.
|
|
using | xgboost::bst_tree_t = std::int32_t |
| Type for indexing trees.
|
|
using | xgboost::bst_d_ordinal_t = std::int16_t |
| Ordinal of a CUDA device.
|
|
using | xgboost::GradientPair = detail::GradientPairInternal< float > |
| gradient statistics pair usually needed in gradient boosting
|
|
using | xgboost::GradientPairPrecise = detail::GradientPairInternal< double > |
| High precision gradient statistics pair.
|
|
using | xgboost::Args = std::vector< std::pair< std::string, std::string > > |
|
using | xgboost::omp_ulong = dmlc::omp_ulong |
| define unsigned long for openmp loop
|
|
using | xgboost::bst_omp_uint = dmlc::omp_uint |
| define unsigned int for openmp loop
|
|
using | xgboost::XGBoostVersionT = int32_t |
| Type used for representing version number in binary form.
|
|
Copyright 2015-2023 by XGBoost Contributors.
Defines configuration macros and basic types for xgboost.