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 two predictive models are trained on the vectors to predict the sentiment class of the documents.





The workflow reads IMDb reviews, pre-processes the documents and trains two models to predict the sentiment of moviereviews Data Import and Preprocessing Predictive Modeling and Scoring Extract sentimentlabelColor by sentimentlabelTraining / test setTransformation of strings to documentsPreprocessing of documentsCreate bit vectorsfor documentsRead IMDb reviewsfrom CSV file Category To Class Color Manager Partitioning Decision TreePredictor Document Creation Preprocessing DecisionTree Learner Document Vector CSV Reader XGBoost Tree EnsembleLearner (deprecated) XGBoost Predictor Column Appender Column Filter Scorer Scorer ROC Curve The workflow reads IMDb reviews, pre-processes the documents and trains two models to predict the sentiment of moviereviews Data Import and Preprocessing Predictive Modeling and Scoring Extract sentimentlabelColor by sentimentlabelTraining / test setTransformation of strings to documentsPreprocessing of documentsCreate bit vectorsfor documentsRead IMDb reviewsfrom CSV file Category To Class Color Manager Partitioning Decision TreePredictor Document Creation Preprocessing DecisionTree Learner Document Vector CSV Reader XGBoost Tree EnsembleLearner (deprecated) XGBoost Predictor Column Appender Column Filter Scorer Scorer ROC Curve

Nodes

Extensions

Links