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",