Learn R Programming

iai (version 1.10.2)

write_booster: 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

Run this code
if (FALSE) iai::write_booster(file.path(tempdir(), "out.json"), lnr)

Run the code above in your browser using DataLab