# Sentiment Analysis

**URL:** <https://forum.knime.com/t/sentiment-analysis/27262>\
**Category:** KCH Workflows\
**Created:** [September 12, 2020, 6:20pm UTC](https://forum.knime.com/t/sentiment-analysis/27262 "2020-09-12T18:20:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hub](https://forum-cdn.knime.com/user_avatar/forum.knime.com/hub/32/5438_2.png) [@Hub](https://forum.knime.com/u/Hub)\
**Post date:** [September 12, 2020, 6:20pm UTC](https://forum.knime.com/t/sentiment-analysis/27262/1 "2020-09-12T18:20:50Z")

</div>

This workflow shows how to train a simple neural network for text classification, in this case sentiment analysis. The used network learns a 128 dimensional word embedding followed by an LSTM. This example is adapted from the following Keras example script: https://github.com/keras-team/keras/blob/master/examples/imdb\_lstm.py In order to run the example, please make sure you have the following KNIME extensions installed: \* KNIME Deep Learning - Keras Integration (Labs) You also need a local Python installation that includes Keras. Please refer to https://www.knime.com/deeplearning#keras for installation recommendations and further information.

* * *
This is a companion discussion topic for the original entry at [https://kni.me/w/S670RvBcOHHW7Sta](https://kni.me/w/S670RvBcOHHW7Sta)
