Summary
In this chapter, we covered a lot! We learned how to use dense instead of sparse vectors to represent words, using word2vec or GloVe, although we only used GloVe. We worked with an annotated lexicon; tidy data can already bring a lot of insight! No need to bring in the heavy artillery in many cases. We saw that slightly more complicated models may not perform well (adding layers to the feed-forward neural network); surprisingly, much more complicated models can (using bidirectional LSTMs)! After that, we provided a reference for connecting to Twitter, while keeping in mind that terms of service should be respected. For this, we used previously calculated vector embeddings and models to evaluate the sentiment of new data. And, don't ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access