JasonKessler/scattertext

<Question> How can we use embedding of conceptnet numberbatch here?

vijender412 opened this issue · 3 comments

First of all, thanks for sharing the one of the greatest open sourced work.
I have gone through the package and found very useful. Going one step more I wanted to try conceptnet numberbatch or bert embedding in this. Can you suggest any way.
Thanks

Right now, the means of visualizing scatterplots of arbitrary term or document embeddings projected into 2d is a little janky. I'd suggest taking a look at demo_embeddings_pca.py and tracing through that code.

It shows how to project sparse tfidf embeddings of the document/term matrix into two dimensions using SVD. This could easily be applied to any document or term embeddings, and projected into 2d using your favorite algorithm.

Thanks alot @JasonKessler . I would like to take time and try some of the embedding and will get back to you on this thread.

Best of luck!