Learn R Programming

xgboost (version 1.7.6.1)

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

Description

Load the instance back from xgb.serialize

Usage

xgb.unserialize(buffer, handle = NULL)

Value

An xgb.Booster.handle object.

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.