example-scripts icon indicating copy to clipboard operation
example-scripts copied to clipboard

Question: why pickle for saving models?

Open luca-s opened this issue 3 years ago • 0 comments

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_pickle instead 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

luca-s avatar May 13 '22 09:05 luca-s