The Data Life Podcast
The Data Life Podcast
Sanket Gupta
Aug 7, 2019 · 23 min

14: Building a Character-Based Text Classifier

MP3

Ever wonder how to automatically detect language from a script? How does Google do it? 

Ever wonder how Amazon knows whether you are searching for a product or a SKU on its search bar? 

We look into character-based text classifiers in this episode. We cover 2 types of models. First is the bag-of-words models such as Naive Bayes, logistic regression and vanilla neural network. Second we cover sequence models such as LSTMs and how to prepare your characters for the LSTMs including things like one-hot encoding, padding, creating character embeddings and then feeding these into LSTMs. We also cover how to set up and compile these sequence models. 

Thanks for listening, and if you find this content useful, please leave a review and consider supporting this podcast from the link below. 

This podcast uses Anchor (from Spotify) for stats, tracking, and dynamic audio. What this means Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.