Icon

Lab14-Sentiment_​Classification-student

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 two predictive models are 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

Sentiment Classification of Documents

This workflow reads IMDb movie reviews (.csv), converts it to documents, preprocess the documents and transform them into numerical document vectors. Finally two predictive models are trained on the vectors to predict the sentiment class of the documents.

Data Import and Preprocessing

Predictive Modeling and Scoring

XGBoost Predictor
XGBoost Tree Ensemble Learner
Column Filter
Scorer
Column Appender
Preprocessing of documents
Preprocessing
Strings to Document
Read IMDb reviews from CSV file
CSV Reader
Document Vector
Column Filter
Color Manager
Category to Class
ROC Curve
Decision Tree Learner
Table Partitioner
Scorer
Decision Tree Predictor

Nodes

Extensions

Links