write_booster {iai}R Documentation

Write the internal booster saved in the learner to file

Description

Julia Equivalent: IAI.write_booster

Usage

write_booster(filename, lnr)

Arguments

filename

Where to save the output.

lnr

The XGBoost learner with the booster to output.

IAI Compatibility

Requires IAI version 2.1 or higher.

Examples

## Not run: iai::write_booster(file.path(tempdir(), "out.json"), lnr)


[Package iai version 1.10.1 Index]