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.
Wich pickle protocol are you using?

> On Aug 18, 2015, at 11:38 PM, Stefan van der Walt <stef...@berkeley.edu> 
> wrote:
> 
> On 2015-08-18 20:26:15, JAGANADH GOPINADHAN <jagana...@gmail.com> 
> wrote:
>> Use joblib or pickle to achieve this
> 
> Any method that relies on pickle is broken when you upgrade 
> scikit-learn or move to a different system.  I would like to 
> persist models for as long as possible; thus having to deal with 
> pickling errors, which don't allow you to easily extract 
> coefficients in the case when the model cannot be loaded, is not 
> an option.
> 
> Stéfan
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

------------------------------------------------------------------------------
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to