Icon

ML-based Sentiment Analysis

There has been no title set for this workflow's metadata.

Sentiment Analysis (Classification) of Documents

This workflow shows how to import text from a CSV file, convert it to documents, preprocess the documents and transform them into numerical document vectors. Finally, a predictive models is trained on the vectors to predict the sentiment class of the documents.

URL: Sentiment Classification of Documents http://www.knime.org/blog/sentiment-analysis
URL: Read more about "Lexicon-based sentiment analysis: A tutorial" https://www.knime.com/blog/lexicon-based-sentiment-analysis

ML-based Sentiment Analysis

The workflow reads IMDb reviews, pre-processes the documents and trains a decision tree to predict the sentiment of movie reviews.

Data Import and Preprocessing

Predictive Modeling and Scoring

Preprocessing of documents
Preprocessing
Create bit vectorsfor documents
Document Vector
Decision Tree Learner
Read IMDb reviews from CSV file
CSV Reader
Color by sentiment label
Color Manager
Transformation of strings to documents
Document Creation
Extract sentiment label
Category To Class
Training / test set
Partitioning
Decision Tree Predictor
ROC Curve
Scorer

Nodes

Extensions

Links