Re:Organizing My Emails with a Neural Net
by andreyk on Sunday January 24, 2016 @12:49PM
(#10963221)
Ah, I honestly assumed it would use an existing set of weights such as from word2vec. Though I now realize that does not make sense since you can also embed images or really any real numbered inputs. I will give this a try.
This is pretty straightforward to implement in keras, you just need to supply pre-trained word-vectors weights to your embedding layer.
Where 'word2vec_weights' is a numpy matrix with shape (vocab_size, 300).