Learn R Programming

iai (version 1.4.0)

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
# NOT RUN {
iai::write_booster(file.path(tempdir(), "out.json"), lnr)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab