Skip to content

Commit

Permalink
Remove unnecessary code in 03_classification
Browse files Browse the repository at this point in the history
  • Loading branch information
ibeauregard authored Aug 12, 2020
1 parent 786d986 commit 824e014
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 03_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4324,7 +4324,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",
Expand Down

0 comments on commit 824e014

Please sign in to comment.