|
Medial Code Documentation
|
interface for serializable objects More...
#include <io.h>
Public Member Functions | |
| virtual | ~Serializable () |
| virtual destructor | |
| virtual void | Load (Stream *fi)=0 |
| load the model from a stream | |
| virtual void | Save (Stream *fo) const =0 |
| saves the model to a stream | |
interface for serializable objects
|
pure virtual |
load the model from a stream
| fi | stream where to load the model from |
Implemented in xgboost::LearnerIO, rabit::c_api::WriteWrapper, and rabit::c_api::ReadWrapper.
|
pure virtual |
saves the model to a stream
| fo | stream where to save the model to |
Implemented in xgboost::LearnerIO, rabit::c_api::ReadWrapper, and rabit::c_api::WriteWrapper.