Icon

03_​Sentiment_​Classification

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.


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 Extract sentimentlabelColor by sentimentlabelTraining / test setApply decisiontree modelTransformation of strings to documentsPreprocessing of documentsBuild predictive modelCreate bit vectorsfor documentsScore decisiontree modelScore decisiontree modelRead IMDb reviewsfrom CSV file Category To Class Color Manager Partitioning Decision TreePredictor Document Creation Preprocessing DecisionTree Learner Document Vector Scorer ROC Curve CSV Reader 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 Extract sentimentlabelColor by sentimentlabelTraining / test setApply decisiontree modelTransformation of strings to documentsPreprocessing of documentsBuild predictive modelCreate bit vectorsfor documentsScore decisiontree modelScore decisiontree modelRead IMDb reviewsfrom CSV file Category To Class Color Manager Partitioning Decision TreePredictor Document Creation Preprocessing DecisionTree Learner Document Vector Scorer ROC Curve CSV Reader

Nodes

Extensions

Links