Great problem in converting text to feature vector

m_keshavarz_comm_keshavarz_com Member Posts: 28 Contributor I
edited December 2018 in Help
I have a thousand sentences
I want to turn text into a feature vector using word2vec instead of tfidf
And then, clustering the texts based on the words
But do not know how
This is my process but
Word2vec is now clustered based on the words extracted, not according to the words in the sentences. And then clustering sentences
Please help me what to do
How to extract wordwords with word2vec and cluster them according to them?
Any help is sure to be useful to me and thanks
Waiting 31.3K


  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,453 RM Data Scientist


    word2vec maps words to vectors. Not sentences. You need to do an aggregation in order to get sentence vectors. This is not trivially done.




    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.