adapted from: Sentiment Analysis on IMDB movie reviews (by kathrinmelcher)
https://kni.me/w/NHJpmqsAJ3Ib-thH
---------------------
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.
Workflow
Sentiment Analysis (with Conda Environment propagation for Keras)
External resources
- more links about KNIME, Python, Miniconda .....
- (38581) forum discussion
- Bug Reporting Best Practices
- KNIME Announces Integration With Anaconda, Strengthening OSS Security Between the Python and Low-Code Communities
- Keras Conda Environment Propagation
- adapted from: Sentiment Analysis on IMDB movie reviews (by kathrinmelcher)
Used extensions & nodes
Created with KNIME Analytics Platform version 4.5.0
Legal
By using or downloading the workflow, you agree to our terms and conditions.