xgb.load.raw {xgboost}R Documentation

Load serialised xgboost model from R's raw vector

Description

User can generate raw memory buffer by calling xgb.save.raw

Usage

xgb.load.raw(buffer, as_booster = FALSE)

Arguments

buffer

the buffer returned by xgb.save.raw

as_booster

Return the loaded model as xgb.Booster instead of xgb.Booster.handle.


[Package xgboost version 1.7.8.1 Index]