xgboost
|
#include <model.h>
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... | |
|
virtualdefault |
|
pure virtual |
load the model from a JSON object
in | JSON object where to load the model from |
Implemented in xgboost::Learner, xgboost::RegTree, and xgboost::MultiTargetTree.
|
pure virtual |
saves the model config to a JSON object
out | JSON container where to save the model to |
Implemented in xgboost::Learner, xgboost::RegTree, and xgboost::MultiTargetTree.