rstudio / bundle

Prepare objects for serialization with a consistent interface
https://rstudio.github.io/bundle/
Other
27 stars 4 forks source link

transition xgboost native serialization functions #44

Closed simonpcouch closed 2 years ago

simonpcouch commented 2 years ago

Closes #43. Thank you for pointing this out, @juliasilge—this approach feels much better.

A relevant bit from the xgb.save.raw docs, where the raw_format default is "deprecated":

raw_format: The format for encoding the booster. Available options are

* json: Encode the booster into JSON text document.
* ubj: Encode the booster into Universal Binary JSON.
* deprecated: Encode the booster into old customized binary format.
Right now the default is `deprecated` but will be changed to `ubj` in upcoming release.