Related to #157
To avoid issues with model persistence in joblib/pickle, we could export the LightGBM Booster as .txt file with:
clf.save_model('lgbm_model.clf')
clf = lgb.Booster(model_file='lgbm_model.clf')
See also: https://muttoni.github.io/blog/machine-learning/2021/01/22/Fixing-Inconsistent-LightGBM-Predictions-In-Production.html#exporting-using-lightgbms-save_model
Related to #157
To avoid issues with model persistence in joblib/pickle, we could export the LightGBM Booster as .txt file with:
See also: https://muttoni.github.io/blog/machine-learning/2021/01/22/Fixing-Inconsistent-LightGBM-Predictions-In-Production.html#exporting-using-lightgbms-save_model