8000 DOC: use .joblib file extension rather than .pkl · scikit-learn/scikit-learn@066b501 · GitHub
[go: up one dir, main page]

Skip to content

Commit 066b501

Browse files
committed
DOC: use .joblib file extension rather than .pkl
1 parent 355d880 commit 066b501

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial/basic/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ which is more 9320 efficient on big data but it can only pickle to the disk
239239
and not to a string::
240240

241241
>>> from sklearn.externals import joblib
242-
>>> joblib.dump(clf, 'filename.pkl') # doctest: +SKIP
242+
>>> joblib.dump(clf, 'filename.joblib') # doctest: +SKIP
243243

244244
Later, you can reload the pickled model (possibly in another Python process)
245245
with::
246246

247-
>>> clf = joblib.load('filename.pkl') # doctest:+SKIP
247+
>>> clf = joblib.load('filename.joblib') # doctest:+SKIP
248248

249249
.. note::
250250

0 commit comments

Comments
 (0)
0