xgboost

Public Member Functions | Public Attributes | List of all members
xgboost::LearnerModelParam Struct Reference

`#include <learner.h>`

Collaboration diagram for xgboost::LearnerModelParam:

## Public Member Functions
| LearnerModelParam ()=default
| LearnerModelParam (LearnerModelParamLegacy const &user_param, float base_margin)
bool | Initialized () const

## Public Attributes
bst_float | base_score { 0.5f }
uint32_t | num_feature { 0 }
uint32_t | num_output_group { 0 }

## Constructor & Destructor Documentation

## ◆ LearnerModelParam() [1/2]

xgboost::LearnerModelParam::LearnerModelParam | ( |  | ) |
| default

## ◆ LearnerModelParam() [2/2]

xgboost::LearnerModelParam::LearnerModelParam | ( | LearnerModelParamLegacy const & | user_param,
|  | float | base_margin
| ) |  |

## Member Function Documentation

## ◆ Initialized()

bool xgboost::LearnerModelParam::Initialized | ( |  | ) | const
| inline

## Member Data Documentation

## ◆ base_score

bst_float xgboost::LearnerModelParam::base_score { 0.5f }

## ◆ num_feature

uint32_t xgboost::LearnerModelParam::num_feature { 0 }

## ◆ num_output_group

uint32_t xgboost::LearnerModelParam::num_output_group { 0 }

The documentation for this struct was generated from the following file:

- /home/runner/work/xgboost/xgboost/include/xgboost/learner.h