On 1 February 2012 08:57, Andreas <[email protected]> wrote:

> That might be a stupid question, but what are the kinds of things that
> break the models?
> I imagine it would be things like renaming and removing attributes. What
> else is there?
>
> Having code that says "Attribute A was called B in the last version and
> C in the one before that"
> seems not desirable to me.
>
> How about providing extra functions that convert old models to new
> models if incompatible changes
> where introduced?
>
> One more question:
> Did I understand correctly that the main reason for not using pickles
> would be
> to be interoperable with 3rd party software?
> Or are there other reasons not to use pickle for storing models?
>
> Cheers,
> Andy
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>


With regard to the renaming of attributes, a better method may just be to
note the specific changes in a file using some machine-readable version.
We then write a converter that gets told "take this object form version X
and update it for version Y". The converter would then check the file for
the needed changes and update, if it can be done (i.e. renaming is easy,
substantial changes in structure are not).

On reading what I just wrote, this may or may not be a good thing to
include *in* scikits.learn, and may actually be a good, different, open
source project for arbitrary objects. After a consensus here, I think I'll
start working on that... :)

- Robert


-- 

Public key at: http://pgp.mit.edu/ Search for this email address and select
the key from "2011-08-19" (key id: 54BA8735)
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to