Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
xgboost::Model Struct Referenceabstract
Inheritance diagram for xgboost::Model:
xgboost::GradientBooster xgboost::Learner xgboost::MultiTargetTree xgboost::RegTree xgboost::gbm::GBLinearModel xgboost::gbm::GBTreeModel xgboost::gbm::GBLinear xgboost::gbm::GBTree xgboost::LearnerConfiguration xgboost::gbm::Dart xgboost::LearnerIO xgboost::LearnerImpl

Public Member Functions

virtual void LoadModel (Json const &in)=0
 load the model from a JSON object
 
virtual void SaveModel (Json *out) const =0
 saves the model config to a JSON object
 

Member Function Documentation

◆ LoadModel()

virtual void xgboost::Model::LoadModel ( Json const &  in)
pure virtual

load the model from a JSON object

Parameters
inJSON object where to load the model from

Implemented in xgboost::MultiTargetTree, xgboost::RegTree, xgboost::gbm::GBLinear, xgboost::gbm::GBLinearModel, xgboost::gbm::Dart, xgboost::gbm::GBTree, xgboost::LearnerIO, xgboost::Learner, and xgboost::gbm::GBTreeModel.

◆ SaveModel()

virtual void xgboost::Model::SaveModel ( Json out) const
pure virtual

saves the model config to a JSON object

Parameters
outJSON container where to save the model to

Implemented in xgboost::MultiTargetTree, xgboost::RegTree, xgboost::Learner, xgboost::gbm::GBLinear, xgboost::gbm::GBLinearModel, xgboost::gbm::Dart, xgboost::gbm::GBTree, xgboost::gbm::GBTreeModel, and xgboost::LearnerIO.


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