From 508b22e84d0826a431f3b7ecd19af1614b19508e Mon Sep 17 00:00:00 2001 From: Ian Beauregard Date: Tue, 11 Aug 2020 20:29:05 -0400 Subject: [PATCH] Remove unnecessary code in 03_classification --- 03_classification.ipynb | 1 - 1 file changed, 1 deletion(-) diff --git a/03_classification.ipynb b/03_classification.ipynb index f088b87..4dd82ac 100644 --- a/03_classification.ipynb +++ b/03_classification.ipynb @@ -2405,7 +2405,6 @@ " for word, count in word_count.items():\n", " total_count[word] += min(count, 10)\n", " most_common = total_count.most_common()[:self.vocabulary_size]\n", - " self.most_common_ = most_common\n", " self.vocabulary_ = {word: index + 1 for index, (word, count) in enumerate(most_common)}\n", " return self\n", " def transform(self, X, y=None):\n",