Icon

Sentiment_Analysis_Deployment

Deploying a Deep Learning Model to Classify Reviews in a Database

This workflow shows how a trained deep learning model can be used to classify new movie reviews in a database.

Annotations and comments
  • Please execute this workflow to add new reviews to the database Note: The workflow below will predict the sentiment for the new reviews and will delete the new reviews from the database. The new reviews with the predicted sentiment will be written into another table in the database.
  • Read dictionary and trained network
  • Read and preprocess new reviews
  • Execute trained network and threshold
  • Update values in database
  • Delete reviews
  • Execute SQL statement
  • Select table with new reviews
  • Write reviews with sentiment predictions
  • Write reviews
  • Predict test data
  • Read model
  • Apply Dictionary
  • Add index from training dictionary
  • Define default value for new terms
  • To lower case
  • Remove small words
  • Remove numbers
  • Remove punctuation
  • Do stemming
  • Remove stop words
  • Extract Text
  • Max document size
  • Max number of characters per document = max document size*9
  • Only first x words
  • Truncated document
  • One column for each term
  • Delete superfluous columns
  • Replace missing value with 0
  • Probability to prediction
  • Connet to database
  • Read dictionary
  • Read new movies
  • Create dictionary
  • Each Term only once

Nodes

Extensions

Links