arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.04037cs.CLcs.LG
收藏

TF-IDF特征加权方法的比较研究及其在非结构化数据集上的分析

A Comparative Study on TF-IDF feature Weighting Method and its Analysis using Unstructured Dataset

NIT Trichy(特里奇国家技术学院)

Mamata Das, Selvakumar K., P. J. A. Alphonse

AI总结:

本文在IMDB和Amazon Alexa数据集上比较N-Grams与TF-IDF特征加权方法,结合多种分类器验证,发现TF-IDF在随机森林上取得最高准确率93.81%等最优性能。

摘要:

文本分类是将文本归入相关类别的过程,其算法是许多自然语言处理(NLP)任务的核心。词频-逆文档频率(TF-IDF)和NLP是文本分类中最常用的信息检索方法。我们研究并分析了非结构化数据上用于文本分类的特征加权方法。所提出的模型在IMDB电影评论和Amazon Alexa评论数据集上考虑了N-Grams和TF-IDF两种特征用于情感分析。然后我们使用最先进的分类器来验证该方法,即支持向量机(SVM)、逻辑回归、多项朴素贝叶斯(Multinomial NB)、随机森林、决策树和k近邻(KNN)。从这两种特征提取结果来看,使用TF-IDF特征相比基于N-Gram的特征提取有显著提升。TF-IDF在随机森林分类器中获得了最高准确率(93.81%)、精确率(94.20%)、召回率(93.81%)和F1分数(91.99%)。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑