numerai/example-scripts

Question: why pickle for saving models?

luca-s opened this issue · 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