Medial Code Documentation
|
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 | |
|
pure virtual |
load the model from a JSON object
in | JSON 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.
|
pure virtual |
saves the model config to a JSON object
out | JSON 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.