Skip to content

Commit 3426108

Browse files
committed
Add a comment about sklearn.metrics.plot_confusion_matrix, fixes ageron#142
1 parent e677bef commit 3426108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

03_classification.ipynb

+1
Original file line numberDiff line numberDiff line change
@@ -1453,6 +1453,7 @@
14531453
"metadata": {},
14541454
"outputs": [],
14551455
"source": [
1456+
"# since sklearn 0.22, you can use sklearn.metrics.plot_confusion_matrix()\n",
14561457
"def plot_confusion_matrix(matrix):\n",
14571458
" \"\"\"If you prefer color and a colorbar\"\"\"\n",
14581459
" fig = plt.figure(figsize=(8,8))\n",

0 commit comments

Comments
 (0)