Icon

Sentiment_​Classification (2)

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 model 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

The workflow reads IMDb reviews, pre-processes the documents and trains a model 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
Score decision tree model
Scorer (deprecated)
Build predictive model
Decision Tree Learner
Color by sentiment label
Color Manager
Transformation of strings to documents
Document Creation
Extract sentiment label
Category To Class
Score decision tree model
ROC Curve (legacy)
Read IMDb reviews from CSV file
File Reader (deprecated)
Training / test set
Table Partitioner
Apply decision tree model
Decision Tree Predictor

Nodes

Extensions

Links