Learn R Programming

xgboost (version 1.5.0.1)

xgb.unserialize: Load the instance back from xgb.serialize

Description

Load the instance back from xgb.serialize

Usage

xgb.unserialize(buffer, handle = NULL)

Arguments

buffer

the buffer containing booster instance saved by xgb.serialize

handle

An xgb.Booster.handle object which will be overwritten with the new deserialized object. Must be a null handle (e.g. when loading the model through `readRDS`). If not provided, a new handle will be created.

Value

An xgb.Booster.handle object.