|
template<typename T > |
XGBOOST_DEVICE bst_cat_t | xgboost::common::AsCat (T const &v) |
|
XGBOOST_DEVICE bool | xgboost::common::IsCat (Span< FeatureType const > ft, bst_feature_t fidx) |
|
constexpr bst_cat_t | xgboost::common::OutOfRangeCat () |
|
XGBOOST_DEVICE bool | xgboost::common::InvalidCat (float cat) |
|
XGBOOST_DEVICE bool | xgboost::common::Decision (common::Span< CatBitField::value_type const > cats, float cat) |
| Whether should it traverse to left branch of a tree.
|
|
void | xgboost::common::InvalidCategory () |
|
void | xgboost::common::CheckMaxCat (float max_cat, size_t n_categories) |
|
XGBOOST_DEVICE bool | xgboost::common::UseOneHot (uint32_t n_cats, uint32_t max_cat_to_onehot) |
| Whether should we use onehot encoding for categorical data.
|
|
Copyright 2020-2023, XGBoost Contributors.