mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Add a comment about sklearn.metrics.plot_confusion_matrix, fixes #142
This commit is contained in:
@@ -852,6 +852,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# since sklearn 0.22, you can use sklearn.metrics.plot_confusion_matrix()\n",
|
||||
"def plot_confusion_matrix(matrix):\n",
|
||||
" \"\"\"If you prefer color and a colorbar\"\"\"\n",
|
||||
" fig = plt.figure(figsize=(8,8))\n",
|
||||
|
||||
Reference in New Issue
Block a user