基本模型参数,用于描述 booster。更多...
#include <learner.h>
|
| LearnerModelParam ()=default |
|
| LearnerModelParam (Context const *ctx, LearnerModelParamLegacy const &user_param, linalg::Tensor< float, 1 > base_margin, ObjInfo t, MultiStrategy multi_strategy) |
|
| LearnerModelParam (LearnerModelParamLegacy const &user_param, ObjInfo t, MultiStrategy multi_strategy) |
|
| LearnerModelParam (bst_feature_t n_features, linalg::Tensor< float, 1 > base_score, std::uint32_t n_groups, bst_target_t n_targets, MultiStrategy multi_strategy) |
|
linalg::TensorView< float const, 1 > | BaseScore (Context const *ctx) const |
|
linalg::TensorView< float const, 1 > | BaseScore (DeviceOrd device) const |
|
void | Copy (LearnerModelParam const &that) |
|
bool | IsVectorLeaf () const noexcept |
|
bst_target_t | OutputLength () const noexcept |
|
bst_target_t | LeafLength () const noexcept |
|
bool | Initialized () const |
|
◆ LearnerModelParam() [1/4]
xgboost::LearnerModelParam::LearnerModelParam |
( |
| ) |
|
|
default |
◆ LearnerModelParam() [2/4]
◆ LearnerModelParam() [3/4]
xgboost::LearnerModelParam::LearnerModelParam |
( |
LearnerModelParamLegacy const & |
user_param, |
|
|
ObjInfo |
t, |
|
|
MultiStrategy |
multi_strategy |
|
) |
| |
◆ LearnerModelParam() [4/4]
◆ BaseScore() [1/2]
◆ BaseScore() [2/2]
◆ Copy()
◆ Initialized()
bool xgboost::LearnerModelParam::Initialized |
( |
| ) |
const |
|
inline |
◆ IsVectorLeaf()
bool xgboost::LearnerModelParam::IsVectorLeaf |
( |
| ) |
const |
|
inlinenoexcept |
◆ LeafLength()
bst_target_t xgboost::LearnerModelParam::LeafLength |
( |
| ) |
const |
|
inlinenoexcept |
◆ OutputLength()
bst_target_t xgboost::LearnerModelParam::OutputLength |
( |
| ) |
const |
|
inlinenoexcept |
◆ multi_strategy
◆ num_feature
◆ num_output_group
std::uint32_t xgboost::LearnerModelParam::num_output_group {0} |
◆ task
此结构体的文档生成自以下文件
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/release_3.0.0/include/xgboost/learner.h