[Paper Review] Sentiment Analysis on IMDB Movie Comments and Twitter Data by Machine Learning and Vector Space Techniques
This study proposes a sentiment analysis model using machine learning and vector space techniques on IMDB movie comments (2,000 samples) and Twitter data (3,200 samples) via the KNIME Analytics platform. It evaluates Decision Trees, Naïve Bayes, and SVM classifiers, finding SVM achieves the highest accuracy of 85.50% on IMDB and 72.50% on Twitter data, outperforming other algorithms across both datasets.
This study's goal is to create a model of sentiment analysis on a 2000 rows IMDB movie comments and 3200 Twitter data by using machine learning and vector space techniques; positive or negative preliminary information about the text is to provide. In the study, a vector space was created in the KNIME Analytics platform, and a classification study was performed on this vector space by Decision Trees, Naïve Bayes and Support Vector Machines classification algorithms. The conclusions obtained were compared in terms of each algorithms. The classification results for IMDB movie comments are obtained as 94,00%, 73,20%, and 85,50% by Decision Tree, Naive Bayes and SVM algorithms. The classification results for Twitter data set are presented as 82,76%, 75,44% and 72,50% by Decision Tree, Naive Bayes SVM algorithms as well. It is seen that the best classification results presented in both data sets are which calculated by SVM algorithm.
Motivation & Objective
- To develop a sentiment classification model for movie reviews and social media text using machine learning and vector space techniques.
- To compare the performance of Decision Trees, Naïve Bayes, and Support Vector Machines on sentiment classification tasks.
- To evaluate model effectiveness on two distinct text datasets: IMDB movie comments and Twitter data.
- To identify the optimal algorithm and vector representation strategy for sentiment analysis in the given context.
- To provide a comparative analysis of classification accuracy across different machine learning models on real-world text data.
Proposed method
- Vector space representation was constructed using text data from IMDB movie comments and Twitter, processed in the KNIME Analytics platform.
- Text preprocessing included tokenization and feature extraction to convert raw text into numerical vectors for classification.
- Three classifiers—Decision Trees, Naïve Bayes, and Support Vector Machines—were trained and evaluated on the vectorized data.
- Model performance was measured using classification accuracy, with results compared across algorithms and datasets.
- The study used a fixed dataset size of 2,000 IMDB comments and 3,200 Twitter samples for consistent evaluation.
- All experiments were conducted within the KNIME Analytics platform, leveraging its integrated machine learning and data preprocessing tools.
Experimental results
Research questions
- RQ1Which machine learning algorithm achieves the highest sentiment classification accuracy on IMDB movie comment data?
- RQ2How do Decision Trees, Naïve Bayes, and SVM perform on Twitter sentiment analysis tasks?
- RQ3Does the SVM algorithm consistently outperform other classifiers across both IMDB and Twitter datasets?
- RQ4What is the impact of vector space representation on sentiment classification performance in this setup?
- RQ5How do the results vary between structured movie reviews and informal social media text?
Key findings
- The SVM classifier achieved the highest accuracy of 85.50% on the IMDB movie comment dataset, outperforming Decision Trees (94.00%) and Naïve Bayes (73.20%).
- On the Twitter dataset, SVM achieved 72.50% accuracy, ranking second behind Decision Trees (82.76%) but ahead of Naïve Bayes (75.44%).
- Despite lower overall accuracy, Naïve Bayes showed consistent performance on both datasets, indicating robustness to data distribution differences.
- Decision Trees achieved the highest accuracy on Twitter data (82.76%), suggesting suitability for short, informal text with high lexical variability.
- The results indicate that SVM is the most effective model for sentiment analysis on IMDB data, while Decision Trees perform best on Twitter data.
- Overall, SVM demonstrated the most balanced and highest performance across both datasets, particularly on the more formal IMDB comments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.