Machine learning tips: How to quickly generate a bag of words
Filed in Machine Learning
Natural language processing is all about text. But it doesn't use the text itself. You need vectors of numbers, for example a bag of words. This can be easily built with a dictionary and some for loops. But there is an easier way.
Read more