|
xgboost
|
#include <limits>#include "bitfield.h"#include "xgboost/base.h"#include "xgboost/data.h"#include "xgboost/parameter.h"#include "xgboost/span.h"

Go to the source code of this file.
Classes | |
| struct | xgboost::common::IsCatOp |
Namespaces | |
| xgboost | |
| namespace of xgboost | |
| xgboost::common | |
Typedefs | |
| using | xgboost::common::CatBitField = LBitField32 |
| using | xgboost::common::KCatBitField = CLBitField32 |
Functions | |
| 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) |
| template<bool validate = true> | |
| XGBOOST_DEVICE bool | xgboost::common::Decision (common::Span< uint32_t const > cats, float cat, bool dft_left) |
| 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. More... | |
Copyright 2020-2022 by XGBoost Contributors
1.8.17