From ba98a47029be2f49ba6b0c312c61ed8494704ac2 Mon Sep 17 00:00:00 2001 From: Faisal Sharji Date: Sat, 19 Nov 2022 01:33:29 -0500 Subject: [PATCH] Update 04_multilingual-ner.ipynb include the corresponding import for completeness --- 04_multilingual-ner.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/04_multilingual-ner.ipynb b/04_multilingual-ner.ipynb index 203ec10..d543b86 100644 --- a/04_multilingual-ner.ipynb +++ b/04_multilingual-ner.ipynb @@ -2735,6 +2735,7 @@ "outputs": [], "source": [ "from sklearn.metrics import ConfusionMatrixDisplay, confusion_matrix\n", + "import matplotlib.pyplot as plt\n", "\n", "def plot_confusion_matrix(y_preds, y_true, labels):\n", " cm = confusion_matrix(y_true, y_preds, normalize=\"true\")\n",