Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1

This commit is contained in:
Aurélien Geron
2021-02-14 15:02:09 +13:00
parent 8ebdcffc6b
commit 670873843d
15 changed files with 797 additions and 737 deletions

View File

@@ -74,11 +74,7 @@
" print(\"Saving figure\", fig_id)\n",
" if tight_layout:\n",
" plt.tight_layout()\n",
" plt.savefig(path, format=fig_extension, dpi=resolution)\n",
"\n",
"# Ignore useless warnings (see SciPy issue #5998)\n",
"import warnings\n",
"warnings.filterwarnings(action=\"ignore\", message=\"^internal gelsd\")"
" plt.savefig(path, format=fig_extension, dpi=resolution)"
]
},
{
@@ -1731,7 +1727,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Nice! Reducing dimensionality led to a 4× speedup. :) Let's check the model's accuracy:"
"Nice! Reducing dimensionality led to over 2× speedup. :) Let's check the model's accuracy:"
]
},
{
@@ -1748,7 +1744,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"A very slight drop in performance, which might be a reasonable price to pay for a 4× speedup, depending on the application."
"A very slight drop in performance, which might be a reasonable price to pay for a 2× speedup, depending on the application."
]
},
{
@@ -2229,7 +2225,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Yes, PCA roughly gave us a 25% speedup, without damaging the result. We have a winner!"
"Yes, PCA roughly gave us over 2x speedup, without damaging the result. We have a winner!"
]
},
{
@@ -2256,7 +2252,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.7.8"
}
},
"nbformat": 4,