View source: R/lgb.drop_serialized.R
lgb.drop_serialized | R Documentation |
If a LightGBM model object was produced with argument 'serializable=TRUE', the R object will keep a copy of the underlying C++ object as raw bytes, which can be used to reconstruct such object after getting serialized and de-serialized, but at the cost of extra memory usage. If these raw bytes are not needed anymore, they can be dropped through this function in order to save memory. Note that the object will be modified in-place.
New in version 4.0.0
lgb.drop_serialized(model)
model |
|
lgb.Booster
(the same 'model' object that was passed as input, as invisible).
lgb.restore_handle, lgb.make_serializable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.