xgboost
Public Member Functions | List of all members
xgboost::Model Struct Referenceabstract

#include <model.h>

Inheritance diagram for xgboost::Model:
Inheritance graph
Collaboration diagram for xgboost::Model:
Collaboration graph

Public Member Functions

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

Constructor & Destructor Documentation

◆ ~Model()

virtual xgboost::Model::~Model ( )
virtualdefault

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::Learner, xgboost::RegTree, and xgboost::MultiTargetTree.

◆ 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::Learner, xgboost::RegTree, and xgboost::MultiTargetTree.


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