1
0
mirror of https://github.com/gsi-upm/sitc synced 2024-11-21 22:12:30 +00:00

Updated joblib import to sklearn 0.23

This commit is contained in:
cif2cif 2021-02-27 21:30:21 +01:00
parent 8925a4a3c1
commit 44aa3d24fb

View File

@ -117,7 +117,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# save model\n", "# save model\n",
"from sklearn.externals import joblib\n", "import joblib\n",
"joblib.dump(model, 'filename.pkl') \n", "joblib.dump(model, 'filename.pkl') \n",
"\n", "\n",
"#load model\n", "#load model\n",
@ -151,6 +151,15 @@
} }
], ],
"metadata": { "metadata": {
"datacleaner": {
"position": {
"top": "50px"
},
"python": {
"varRefreshCmd": "try:\n print(_datacleaner.dataframe_metadata())\nexcept:\n print([])"
},
"window_display": false
},
"kernelspec": { "kernelspec": {
"display_name": "Python 3", "display_name": "Python 3",
"language": "python", "language": "python",
@ -166,7 +175,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.6.7" "version": "3.7.9"
}, },
"latex_envs": { "latex_envs": {
"LaTeX_envs_menu_present": true, "LaTeX_envs_menu_present": true,