Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
xgboost::gbm::GBLinearModel Class Reference
Inheritance diagram for xgboost::gbm::GBLinearModel:
xgboost::Model

Public Member Functions

 GBLinearModel (LearnerModelParam const *learner_model_param)
 
void Configure (Args const &)
 
void LazyInitModel ()
 
void SaveModel (Json *p_out) const override
 saves the model config to a JSON object
 
void LoadModel (Json const &in) override
 load the model from a JSON object
 
void Save (dmlc::Stream *fo) const
 
void Load (dmlc::Stream *fi)
 
bst_floatBias ()
 
const bst_floatBias () const
 
bst_floatoperator[] (size_t i)
 
const bst_floatoperator[] (size_t i) const
 
std::vector< std::string > DumpModel (const FeatureMap &, bool, std::string format) const
 

Data Fields

int32_t num_boosted_rounds {0}
 
LearnerModelParam const * learner_model_param
 
std::vector< bst_floatweight
 

Member Function Documentation

◆ LoadModel()

void xgboost::gbm::GBLinearModel::LoadModel ( Json const &  in)
overridevirtual

load the model from a JSON object

Parameters
inJSON object where to load the model from

Implements xgboost::Model.

◆ SaveModel()

void xgboost::gbm::GBLinearModel::SaveModel ( Json out) const
overridevirtual

saves the model config to a JSON object

Parameters
outJSON container where to save the model to

Implements xgboost::Model.


The documentation for this class was generated from the following files: