mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Use separate joblib package rather than the one in sklearn (which is deprecated)
This commit is contained in:
@@ -1594,7 +1594,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from sklearn.externals import joblib\n",
|
||||
"import joblib\n",
|
||||
"joblib.dump(my_model, \"my_model.pkl\") # DIFF\n",
|
||||
"#...\n",
|
||||
"my_model_loaded = joblib.load(\"my_model.pkl\") # DIFF"
|
||||
|
||||
@@ -85,6 +85,9 @@ scikit-image==0.14.2
|
||||
# Nice utility to diff Jupyter Notebooks.
|
||||
#nbdime==1.0.5
|
||||
|
||||
# Joblib is a set of tools to provide lightweight pipelining
|
||||
joblib==0.13.2
|
||||
|
||||
# May be useful with Pandas for complex "where" clauses (e.g., Pandas
|
||||
# tutorial).
|
||||
numexpr==2.6.9
|
||||
|
||||
Reference in New Issue
Block a user