Sentiment analysis code
This appendix provides the code for the sentiment analysis scenario that is presented in Chapter 5, “Working with data and creating models in IBM PowerAI” on page 121, and describes how the files are structured.
This appendix contains the following topic:
Sentiment analysis with TensorFlow
This section describes sentiment analysis with the TensorFlow code.
How the code is organized
The sentiment analysis code is organized into three Python (.py) files:
data_prep.py: This file is used ...

Get IBM PowerAI: Deep Learning Unleashed on IBM Power Systems Servers 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.