to_bytes¶
Serialize the trained model to a compact binary format.
The result holds the training parameters, the fitted metadata and the model (its rating tables),
and is read back with from_bytes. A loaded model predicts identically to the original. See
Saving and loading models.
Method call format¶
Return value¶
bytes