Skip to content

[MRG] add whatsnew for #7248 (unpickle version warning)#7400

Merged
jnothman merged 5 commits intoscikit-learn:masterfrom
amueller:model_persistance_whatsnew
Sep 13, 2016
Merged

[MRG] add whatsnew for #7248 (unpickle version warning)#7400
jnothman merged 5 commits intoscikit-learn:masterfrom
amueller:model_persistance_whatsnew

Conversation

@amueller
Copy link
Copy Markdown
Member

No description provided.

@nelson-liu
Copy link
Copy Markdown
Contributor

looks good to me, was going to comment on maybe clarifying trained vs pickled but i think one would be hard pressed to train in one version and pickle in another.

By `Andreas Müller`_.

- When unpickling a scikit-learn estimator in a different version than the one
the estimator was trained with, a ``UserWarning`` is raised.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TomDLT
Copy link
Copy Markdown
Member

TomDLT commented Sep 13, 2016

+1

- When unpickling a scikit-learn estimator in a different version than the one
the estimator was trained with, a ``UserWarning`` is raised, see `the documentation
on model persitance
<http://scikit-learn.org/stable/modules/model_persistence.html#security-maintainability-limitations>`_
Copy link
Copy Markdown
Member

@jnothman jnothman Sep 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure there's a way to use sphinx anchors here... or are you trying to make this more user readable in the RST?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean a named link and put the link at the bottom of the page? I could do that... for pep8?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I meant an internal anchor link, so that a link in /dev/ will point to /dev/ rather than stable.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahhh that makes much more sense


- When unpickling a scikit-learn estimator in a different version than the one
the estimator was trained with, a ``UserWarning`` is raised, see `the documentation
on model persistance
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the pickiness but I believe it is persistence with an "e" and not an "a" ...

@jnothman jnothman merged commit 4d9a12d into scikit-learn:master Sep 13, 2016
rsmith54 pushed a commit to rsmith54/scikit-learn that referenced this pull request Sep 14, 2016
TomDLT pushed a commit to TomDLT/scikit-learn that referenced this pull request Oct 3, 2016
Sundrique pushed a commit to Sundrique/scikit-learn that referenced this pull request Jun 14, 2017
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants