Skip to main content
QUICK REVIEW

[论文解读] A Comparative Study on TF-IDF feature Weighting Method and its Analysis using Unstructured Dataset

Mamata Das, Selvakumar Kamalanathan|arXiv (Cornell University)|Aug 8, 2023
Text and Document Classification TechnologiesComputer Science参考文献 14被引用 28
一句话总结

一篇论文比较 TF-IDF 与 N-Gram 特征表示在非结构化评论的情感分类中的表现,显示在某些分类器(尤其是随机森林)上,TF-IDF 取得了最佳性能。

ABSTRACT

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.

研究动机与目标

  • 阐明特征权重对非结构化文本分类的影响的动机。
  • 在情感分析任务中评估 TF-IDF 和 N-Gram 特征。
  • 评估多种分类器以在不同数据集上验证特征表示。
  • 展示在实际情感分析中 TF-IDF 相对于 N-Gram 的性能提升。

提出的方法

  • 在 IMDB 和 Amazon Alexa 评论上进行情感分析,使用两种特征提取方法:N-Grams 和 TF-IDF。
  • 应用多种分类器:SVM、Logistic Regression、Multinomial Naive Bayes、Random Forest、Decision Tree 和 KNN。
  • 比较不同特征方法和分类器的准确率、精确率、召回率和 F1 值。
  • 报告性能指标以确定最佳特征-方法/分类器组合。

实验结果

研究问题

  • RQ1在非结构化数据集的情感分析中,TF-IDF 特征权重是否相对于 N-Gram 特征提供显著的性能优势?
  • RQ2哪一种分类器在给定数据集上能最好地利用 TF-IDF 特征进行情感分类?
  • RQ3在 IMDB 和 Amazon Alexa 评论中,TF-IDF 与 N-Gram 特征在准确率、精确率、召回率和 F1 值方面的比较如何?

主要发现

  • 在评估的分类器中,TF-IDF 特征的表现优于 N-Gram 特征。
  • Random Forest 在 TF-IDF 下获得最高指标:准确率 93.81%,精确率 94.20%,召回率 93.81%,F1 值 91.99%。
  • 基于 TF-IDF 的特征提取在非结构化数据集上相对于基于 N-Gram 的特征显示出显著的性能提升。
  • 该研究验证了 TF-IDF 作为情感分析中对电影和助手评测的有效特征权重方法。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。