Icon

Sentiment_​Analysis_​Training

Sentiment Analysis with LSTM - Training

This workflow shows how to train an LSTM neural network for text classification based on the example of sentiment analysis.

Define Network Training and Predicting Evaluation Reading and Preprocessing Shape: max number of words per documentsInput: # word in dictionary + 1128 unitsActivation function:sigmoidTrain the networkProbability topredictionPredict test dataSave trained model Keras Input Layer Keras EmbeddingLayer Keras LSTM Layer Keras Dense Layer Keras NetworkLearner Rule Engine Keras NetworkExecutor Scorer Keras NetworkWriter Read andpartition data Preprocesstraining set Preprocess test set Define Network Training and Predicting Evaluation Reading and Preprocessing Shape: max number of words per documentsInput: # word in dictionary + 1128 unitsActivation function:sigmoidTrain the networkProbability topredictionPredict test dataSave trained model Keras Input Layer Keras EmbeddingLayer Keras LSTM Layer Keras Dense Layer Keras NetworkLearner Rule Engine Keras NetworkExecutor Scorer Keras NetworkWriter Read andpartition data Preprocesstraining set Preprocess test set

Nodes

Extensions

Links