Combination of Support Vector Machine and Lexicon-Based Algorithm in Twitter Sentiment Analysis

Rindu Hafil Muhammadi, Tri Ginanjar Laksana, Amalia Beladinna Arifa
{"title":"Combination of Support Vector Machine and Lexicon-Based Algorithm in Twitter Sentiment Analysis","authors":"Rindu Hafil Muhammadi, Tri Ginanjar Laksana, Amalia Beladinna Arifa","doi":"10.23917/khif.v8i1.15213","DOIUrl":null,"url":null,"abstract":"- Data from the Ministry of Civil Works and Public Housing (Kementrian PUPR) in 2019 shows that around 81 million millennials do not own houses. Government Regulation Number 25 of 2020 on the Implementation of Public Housing Savings, commonly called PP 25 Tapera 2020, is one of the government’s efforts to ensure that Indonesian people can afford houses. Tapera is a deposit of workers for house financing, which is refundable after the term expires. Immediately after enaction, there were many public responses regarding the ordinance. We investigate public sentiments commenting on the regulation and use Support Vector Machine (SVM) in the study since it has a good level of accuracy. It also requires labels and training data. To speed up labeling, we use the lexicon-based method. The issue in the lexicon-based lies in the dictionary component as the most significant factor. Therefore, it is possible to update the dictionary automatically by combining lexicon-based and SVM. The SVM approach can contribute to lexicon-based, and lexicon-based can help label datasets on SVM to produce good accuracy. The research begins with collecting data from Twitter, preprocessing raw and unstructured data into ready-to-use data, labeling the data with lexicon-based, weighting with TF-IDF, processing using SVM, and evaluating algorithm performance model with a confusion matrix. The results showed that the combination of lexicon-based and SVM worked well. Lexicon-based managed to label 519 tweet data. SVM managed to get an accuracy value of 81.73% with the RBF kernel function. Another test with a Sigmoid kernel attains the highest precision at 78.68%. The RBF kernel has the highest recall result with a value of 81.73%. Then, the F1-score for both the RBF kernel and Sigmoid is 79.60%.","PeriodicalId":326094,"journal":{"name":"Khazanah Informatika : Jurnal Ilmu Komputer dan Informatika","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2022-03-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Khazanah Informatika : Jurnal Ilmu Komputer dan Informatika","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23917/khif.v8i1.15213","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

- Data from the Ministry of Civil Works and Public Housing (Kementrian PUPR) in 2019 shows that around 81 million millennials do not own houses. Government Regulation Number 25 of 2020 on the Implementation of Public Housing Savings, commonly called PP 25 Tapera 2020, is one of the government’s efforts to ensure that Indonesian people can afford houses. Tapera is a deposit of workers for house financing, which is refundable after the term expires. Immediately after enaction, there were many public responses regarding the ordinance. We investigate public sentiments commenting on the regulation and use Support Vector Machine (SVM) in the study since it has a good level of accuracy. It also requires labels and training data. To speed up labeling, we use the lexicon-based method. The issue in the lexicon-based lies in the dictionary component as the most significant factor. Therefore, it is possible to update the dictionary automatically by combining lexicon-based and SVM. The SVM approach can contribute to lexicon-based, and lexicon-based can help label datasets on SVM to produce good accuracy. The research begins with collecting data from Twitter, preprocessing raw and unstructured data into ready-to-use data, labeling the data with lexicon-based, weighting with TF-IDF, processing using SVM, and evaluating algorithm performance model with a confusion matrix. The results showed that the combination of lexicon-based and SVM worked well. Lexicon-based managed to label 519 tweet data. SVM managed to get an accuracy value of 81.73% with the RBF kernel function. Another test with a Sigmoid kernel attains the highest precision at 78.68%. The RBF kernel has the highest recall result with a value of 81.73%. Then, the F1-score for both the RBF kernel and Sigmoid is 79.60%.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
支持向量机与基于词典的算法在Twitter情感分析中的结合
- 2019年土木工程和公共住房部(Kementrian PUPR)的数据显示,约有8100万千禧一代没有自己的房子。关于实施公共住房储蓄的2020年第25号政府条例,通常称为PP 25 Tapera 2020,是政府确保印度尼西亚人民买得起房子的努力之一。塔佩拉是工人为住房融资而支付的押金,到期后可退还。该条例一经颁布,就引起了许多公众的反应。由于支持向量机(SVM)具有良好的准确性,因此我们在研究中使用了支持向量机(SVM)来调查公众对监管的评论。它还需要标签和训练数据。为了加快标注速度,我们使用了基于词典的方法。基于词典的问题在于作为最重要因素的词典组件。因此,将基于词典和支持向量机相结合,可以实现词典的自动更新。支持向量机方法有助于实现基于词典的标记,而基于词典的标记可以帮助支持向量机对数据集进行标记,从而产生良好的准确率。研究首先从Twitter收集数据,将原始和非结构化数据预处理为可用数据,使用基于词典的方法标记数据,使用TF-IDF进行加权,使用SVM进行处理,并使用混淆矩阵评估算法性能模型。结果表明,基于词典和支持向量机相结合的方法效果良好。Lexicon-based成功标记了519条tweet数据。使用RBF核函数,SVM的准确率达到81.73%。另一个使用Sigmoid内核的测试达到了78.68%的最高精度。RBF核的召回率最高,为81.73%。那么,RBF内核和Sigmoid的f1得分均为79.60%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Development of Information and Management System of Student Competition Groups through User-Centered Design Approach Serious Game to Training Focus for Children with Attention Deficit Hyperactivity Disorder: “Tanji Adventure to the Diamond Temple” Measuring Usability on User-Centered Mobile Web Application: Case Study on Financial Mathematics Calculator Aggregate Functions in Categorical Data Skyline Search (CDSS) for Multi-keyword Document Search Design Development of Detection System and Ro-Ro Ship Notification based on Fuzzy Inference System
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1