02_Machine Learning Approach for Sentiment Analysis: Performances by Number of Keywords

This is an example of sentiment analysis using machine learning. The IMDB data set contains movie reviews labelled by sentiment. A Machine Learning algorithm is then trained to predict the sentiment of such reviews in the training set and applied to the reviews in the test set to evaluate its generalization performance. The process is reiterated using 3, 5, 10, 20, and 30 keywords to represent each review Document.

This is a companion discussion topic for the original entry at https://kni.me/w/QcddlTiXQKPI35ik