Go to the documentation of this file.
6 #ifndef XGBOOST_MODEL_H_
7 #define XGBOOST_MODEL_H_
18 virtual ~Model() =
default;
46 #endif // XGBOOST_MODEL_H_
virtual void SaveModel(Json *out) const =0
saves the model config to a JSON object
virtual void LoadModel(Json const &in)=0
load the model from a JSON object
virtual void LoadConfig(Json const &in)=0
Load configuration from JSON object.
virtual ~Configurable()=default
virtual void SaveConfig(Json *out) const =0
Save configuration to JSON object.
Data structure representing JSON format.
Definition: json.h:352
namespace of xgboost
Definition: base.h:110