On 07/01/2015 02:49 PM, Gael Varoquaux wrote: > On Wed, Jul 01, 2015 at 11:04:30AM -0400, Andreas Mueller wrote: >> Theano uses __setstate__ and __getstate__ and they seem to be happy with >> that. > As long as we don't change the data model that works easily, but then so > does pickle. If when chage the data model, which we have done a few time, > we need to add migration code. We used to do that in Mayavi, but it > turned out to be a very big maintenance burden. I'd like to push that > burden onto users: it's not hard to do if you understand the models. I > think that we already do a lot and that we shouldn't strive to do more, > as it is going to weaken us. I agree that we probably don't want to do this at this point. > >> We could add a library of "previously pickled" models to the tests to >> ensure it works.... > That we be necessary. But you need to add impedence matching code each > time you change the data model. At least it could guard us against changing the data model accidentally
------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general