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

View source: R/xgb.unserialize.R

xgb.unserializeR Documentation

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.


xgboost documentation built on Sept. 11, 2024, 8:26 p.m.