Hi Sebastian On 2015-08-18 20:47:12, Sebastian Raschka <se.rasc...@gmail.com> wrote: > Stefan, I have no experience with this problem in particular > since I am not pickling objects that often. However, I deployed > a webapp some time ago on Pythonanywhere > (http://raschkas.pythonanywhere.com > <http://raschkas.pythonanywhere.com/>) and meanwhile they > upgraded their scikit-learn module; I was curious and just > checked it out: it seems that it still works.
It would depend a lot on whether and how the underlying class code got modified. One question to ask is: if the unpickling failed, what would you do? I imagine that the ideal way of storing each model (coefficients, parameters, etc.) would differ from model to model. But having that knowledge stored in the scikit-learn code base would, from a user standpoint at least, be better than trying to maintain it outside. It's a non-trivial problem, since you'll have to track any changes in API carefully and somehow determine which versions are compatible with which (or can be made compatible with a few basic assumptions w.r.t. parameters etc.). Stéfan ------------------------------------------------------------------------------ _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general