March 2019
Intermediate to advanced
642 pages
22h 54m
English
In this recipe, we will use the sklearn.decomposition.LatentDirichletAllocation function to produce a feature matrix of token counts, similar to what the CountVectorizer function (just used in the Building a bag-of-words model recipe of Chapter 7, Analyzing Text Data) would produce on the text.
Read now
Unlock full access