Feature Engineering with Word2vec on Text Classification Using The K-Nearest Neighbor Algorithm

S. Putra, M. Gunawan, Arief Akbar Hidayat
{"title":"Feature Engineering with Word2vec on Text Classification Using The K-Nearest Neighbor Algorithm","authors":"S. Putra, M. Gunawan, Arief Akbar Hidayat","doi":"10.1109/CITSM56380.2022.9935873","DOIUrl":null,"url":null,"abstract":"Text feature extraction is the process of convering unstructured text data into structured so that machine learning algorithms can process it. One of the commonly used text feature extraction techniques is tf-idf. This technique has the potential to produce high-dimensional data which results in longer computational time and affects accuracy results. This study aims to compare feature extraction between word2vec and TF-IDF. The study uses a data explore 4 step approach with a text classification process whose modeling uses the KNN algorithm. The results showed that the highest accuracy value of TF-IDF with the KNN algorithm was 73% in the 7:3 scenario with 8133 features. The highest accuracy value of Wod2vec with the KNN algorithm was 74% in scenario 9: 1 with 300 features. IDF where word2vec produces data with fewer dimensions. This study can prove that feature extraction with word2vec can be done for machine learning research, not only for deep learning. This study can also be used as a comparison of classification per-formance measurement with different feature extraction which can later be applied in web or mobile apps.","PeriodicalId":342813,"journal":{"name":"2022 10th International Conference on Cyber and IT Service Management (CITSM)","volume":"226 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 10th International Conference on Cyber and IT Service Management (CITSM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CITSM56380.2022.9935873","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Text feature extraction is the process of convering unstructured text data into structured so that machine learning algorithms can process it. One of the commonly used text feature extraction techniques is tf-idf. This technique has the potential to produce high-dimensional data which results in longer computational time and affects accuracy results. This study aims to compare feature extraction between word2vec and TF-IDF. The study uses a data explore 4 step approach with a text classification process whose modeling uses the KNN algorithm. The results showed that the highest accuracy value of TF-IDF with the KNN algorithm was 73% in the 7:3 scenario with 8133 features. The highest accuracy value of Wod2vec with the KNN algorithm was 74% in scenario 9: 1 with 300 features. IDF where word2vec produces data with fewer dimensions. This study can prove that feature extraction with word2vec can be done for machine learning research, not only for deep learning. This study can also be used as a comparison of classification per-formance measurement with different feature extraction which can later be applied in web or mobile apps.
基于Word2vec的特征工程:基于k -最近邻算法的文本分类
文本特征提取是将非结构化文本数据转换为结构化文本数据,以便机器学习算法进行处理的过程。常用的文本特征提取技术之一是tf-idf。该技术具有产生高维数据的潜力,这会导致较长的计算时间并影响结果的准确性。本研究旨在比较word2vec和TF-IDF的特征提取。该研究使用数据探索4步方法,并使用KNN算法建模的文本分类过程。结果表明,在具有8133个特征的7:3场景下,使用KNN算法的TF-IDF准确率最高值为73%。使用KNN算法的Wod2vec在场景9:1、300个特征时准确率最高,达到74%。在IDF中,word2vec生成维度更少的数据。本研究可以证明使用word2vec进行特征提取不仅可以用于深度学习,还可以用于机器学习研究。本研究也可以作为不同特征提取的分类性能测量的比较,以后可以应用于web或移动应用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信