Remove warnings and fix path in ch16

This commit is contained in:
Aurelien Geron
2016-11-05 14:29:24 +01:00
parent f533018ccf
commit bc25ecacfe

View File

@@ -34,16 +34,7 @@
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/ageron/dev/py/envs/ml2/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.\n",
" warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')\n"
]
}
],
"outputs": [],
"source": [
"# To support both python 2 and python 3\n",
"from __future__ import division, print_function, unicode_literals\n",
@@ -66,7 +57,7 @@
"plt.rcParams['ytick.labelsize'] = 12\n",
"\n",
"# Where to save the figures\n",
"PROJECT_ROOT_DIR = \"../handson-ml\"\n",
"PROJECT_ROOT_DIR = \".\"\n",
"CHAPTER_ID = \"rl\"\n",
"\n",
"def save_fig(fig_id, tight_layout=True):\n",
@@ -10680,7 +10671,7 @@
},
{
"cell_type": "code",
"execution_count": 70,
"execution_count": 66,
"metadata": {
"collapsed": false
},
@@ -10764,7 +10755,7 @@
},
{
"cell_type": "code",
"execution_count": 71,
"execution_count": 67,
"metadata": {
"collapsed": false
},
@@ -10788,7 +10779,7 @@
},
{
"cell_type": "code",
"execution_count": 72,
"execution_count": 68,
"metadata": {
"collapsed": false
},
@@ -10799,7 +10790,7 @@
"234"
]
},
"execution_count": 72,
"execution_count": 68,
"metadata": {},
"output_type": "execute_result"
}
@@ -10810,7 +10801,7 @@
},
{
"cell_type": "code",
"execution_count": 73,
"execution_count": 69,
"metadata": {
"collapsed": false
},