mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Fix plot_confusion_matrix() in ch 03 (fixes #42)
This commit is contained in:
@@ -1053,7 +1053,7 @@
|
||||
" \"\"\"If you prefer color and a colorbar\"\"\"\n",
|
||||
" fig = plt.figure(figsize=(8,8))\n",
|
||||
" ax = fig.add_subplot(111)\n",
|
||||
" cax = ax.matshow(conf_mx)\n",
|
||||
" cax = ax.matshow(matrix)\n",
|
||||
" fig.colorbar(cax)"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user