Solved – Word vectors as input in Keras

deep learningmachine learningsentiment analysisword embeddingsword2vec

I have a corpus on which I want to perform sentiment analysis using LSTM and word embeddings. I have converted the words in the documents to word vectors using word2vec. My question is how to input these word vectors as input to keras? I don't want to use the Embeddings provided by keras. Thanks in advance.

Best Answer

Maybe "From Words to Paragraphs, Attempt 2: Clustering" section of this article help you. It's using word embeddings as inputs to the K-means clustering algorithm.