In this code-notebook post, a singular value decomposition of word vectors from a sample text corpus is performed using NumPy. The resultant co-occurrence matrix is plotted to visualize the results.
Example text corpus
Process text corpus
A few helper functions to process the text corpus.
Co-occurrence matrix and generate output plot
Your comment will be posted after it is approved.
Leave a Reply.
Moad Computer is an actionable insights firm. We provide enterprises with end-to-end artificial intelligence solutions. Actionable Insights blog is a quick overview of things we are most excited about.