9 Natural language processing with TensorFlow: Sentiment analysis
This chapter covers
- Preprocessing text with Python
- Analyzing text-specific attributes important for the model
- Creating a data pipeline to handle text sequences with TensorFlow
- Analyzing sentiments with a recurrent deep learning model (LSTM)
- Training the model on imbalanced product reviews
- Implementing word embeddings to improve model performance
In the previous chapters, we looked at two compute-vision-related applications: image classification and image segmentation. Image classification focuses on recognizing if an object belonging to a certain class is present in an image. Image segmentation tasks look not only at recognizing the objects present in the image, but also which ...
Get TensorFlow in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.