mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Update libraries to latest version, including TensorFlow 2.4.1 and Scikit-Learn 0.24.1
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user