How to save to disk / export a lightgbm LGBMRegressor model trained in python?
How to save to disk / export a lightgbm LGBMRegressor model trained in python? Question: Hi I am unable to find a way to save a lightgbm.LGBMRegressor model to a file for later re-use. Asked By: Utpal Datta || Source Answers: Try: my_model.booster_.save_model(‘mode.txt’) #load from model: bst = lgb.Booster(model_file=’mode.txt’) Note: the API state that bst …