practical-nlp / practical-nlp-code

Official Repository for Code associated with 'Practical Natural Language Processing' book by O'Reilly Media
http://www.practicalnlp.ai/
MIT License
1.3k stars 597 forks source link

Update 02_Bag_of_Words.ipynb #53

Closed faisito closed 3 years ago

faisito commented 3 years ago

probably clearer to drop bow_rep_bin because it isn't subsequently used. Also, use fit instead of fit_transform