example-scripts
example-scripts copied to clipboard
Question: why pickle for saving models?
Dear developers,
I was wondering about the choice of using pandas.to_pickle to save models. In particular I have two questions:
- why
pandas.to_pickleinstead of the python pickle module? Does pandas offer some interesting features that python generic module doesn't? - Knowing that pickle has security & maintainability limitations (e.g. upgrade to a new version of LGBM), why not using the LGBM save/load api?
thanks Luca