From 4a48d04a1af1944775b877c684557884c5f66e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Sun, 5 Jul 2020 18:35:06 +1200 Subject: [PATCH] Add a comment about sklearn.metrics.plot_confusion_matrix, fixes #142 --- 03_classification.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/03_classification.ipynb b/03_classification.ipynb index e2314b1..b574513 100644 --- a/03_classification.ipynb +++ b/03_classification.ipynb @@ -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",