Save a parsnip model fit object with a LightGBM fit to disk. This is a
a workaround to split the LightGBM model and parsnip specification into
separate files and then zip them together. This is necessary because LightGBM
models really do not like being saved with saveRDS
.
lgbm_save(model, zipfile)
A parsnip specification containing a fit LightGBM model.
A path to save zip file to.