[Paper Review] A Comparative Study on TF-IDF feature Weighting Method and its Analysis using Unstructured Dataset
The paper compares TF-IDF and N-Gram feature representations for sentiment classification on unstructured reviews, showing TF-IDF with certain classifiers (notably Random Forest) achieving top performance.
Text Classification is the process of categorizing text into the relevant categories and its algorithms are at the core of many Natural Language Processing (NLP). Term Frequency-Inverse Document Frequency (TF-IDF) and NLP are the most highly used information retrieval methods in text classification. We have investigated and analyzed the feature weighting method for text classification on unstructured data. The proposed model considered two features N-Grams and TF-IDF on the IMDB movie reviews and Amazon Alexa reviews dataset for sentiment analysis. Then we have used the state-of-the-art classifier to validate the method i.e., Support Vector Machine (SVM), Logistic Regression, Multinomial Naive Bayes (Multinomial NB), Random Forest, Decision Tree, and k-nearest neighbors (KNN). From those two feature extractions, a significant increase in feature extraction with TF-IDF features rather than based on N-Gram. TF-IDF got the maximum accuracy (93.81%), precision (94.20%), recall (93.81%), and F1-score (91.99%) value in Random Forest classifier.
Motivation & Objective
- Motivate the impact of feature weighting on text classification in unstructured data.
- Evaluate TF-IDF and N-Gram features on sentiment analysis tasks.
- Assess multiple classifiers to validate feature representations across datasets.
- Demonstrate the performance gains of TF-IDF over N-Gram in practical sentiment analysis.
Proposed method
- Use two feature extraction methods: N-Grams and TF-IDF on IMDB and Amazon Alexa reviews for sentiment analysis.
- Apply multiple classifiers: SVM, Logistic Regression, Multinomial Naive Bayes, Random Forest, Decision Tree, and KNN.
- Compare accuracy, precision, recall, and F1-score across feature methods and classifiers.
- Report performance metrics to identify the best feature-method/classifier combination.
Experimental results
Research questions
- RQ1Does TF-IDF feature weighting provide a significant performance advantage over N-Gram features for sentiment analysis on unstructured datasets?
- RQ2Which classifier best leverages TF-IDF features for sentiment classification on the given datasets?
- RQ3How do TF-IDF and N-Gram features compare in terms of accuracy, precision, recall, and F1 across IMDB and Amazon Alexa reviews?
Key findings
- TF-IDF features yielded higher performance than N-Gram features across evaluated classifiers.
- Random Forest achieved the top metrics with TF-IDF: accuracy 93.81%, precision 94.20%, recall 93.81%, and F1-score 91.99%.
- TF-IDF-based feature extraction showed a significant performance gain over N-Gram-based features on the unstructured datasets.
- The study validates TF-IDF as an effective feature weighting method for sentiment analysis on movie and assistant reviews.
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.