Skip to content

Commit

Permalink
[MRG] add whatsnew for scikit-learn#7248 (unpickle version warning) (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
amueller authored and Russell Smith committed Sep 14, 2016
1 parent 41fd89c commit 074796e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/modules/model_persistence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ with::
filesystem. All files are required in the same folder when reloading the
model with joblib.load.

.. _persistence_limitations:

Security & maintainability limitations
--------------------------------------
Expand Down
7 changes: 7 additions & 0 deletions doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,13 @@ Enhancements
(`#5540 <https://github.com/scikit-learn/scikit-learn/pull/5540>_`)
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, see :ref:`the documentation
on model persistence <persistence_limitations>`
for more details.
(`#7248 <https://github.com/scikit-learn/scikit-learn/pull/7248>_`)
By `Andreas Müller`_.

Bug fixes
.........

Expand Down

0 comments on commit 074796e

Please sign in to comment.