Sentiment Analysis of Tweets on Prakerja Card using Convolutional Neural Network and Naive Bayes

Pahlevi Wahyu Hardjita, Nurochman, Rahmat Hidayat
{"title":"Sentiment Analysis of Tweets on Prakerja Card using Convolutional Neural Network and Naive Bayes","authors":"Pahlevi Wahyu Hardjita, Nurochman, Rahmat Hidayat","doi":"10.14421/ijid.2021.3007","DOIUrl":null,"url":null,"abstract":"The Indonesian government launched the Prakerja (pre-employment) card in the midst of the COVID-19 pandemic, andthe local citizens have voiced their opinions about this controversial program through social media such as Twitter. People’scomments on it can be useful information, and this research tries to analyze the sentiment regarding the Prakerja Card programusing the Convolutional Neural Network and Naive Bayes methods. The main task in this sentiment analysis is analyzing the dataand then classifying them into one of the following classes: positive, negative or neutral. Naive Bayes is an algorithm that is often usedin sentiment analysis research, and the results have been very good. Convolutional neural network (CNN) is a deep learning algorithmthat uses one or more layers commonly used for pattern recognition and image recognition. Having applied these methods, thisresearch found that the CNN model with the GlobalMaxPooling layer is the best model of the other two CNN models. Sentimentanalysis has the best accuracy of 78.5% on the CNN method, and NBC of 76.2% accuracy. The best accuracy result in K-fold withfive classes is 85.4% on the CNN model with a learning rate optimization of 0.00158. While the average accuracy on NBC only reached75.3%","PeriodicalId":33558,"journal":{"name":"IJID International Journal on Informatics for Development","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IJID International Journal on Informatics for Development","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.14421/ijid.2021.3007","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The Indonesian government launched the Prakerja (pre-employment) card in the midst of the COVID-19 pandemic, andthe local citizens have voiced their opinions about this controversial program through social media such as Twitter. People’scomments on it can be useful information, and this research tries to analyze the sentiment regarding the Prakerja Card programusing the Convolutional Neural Network and Naive Bayes methods. The main task in this sentiment analysis is analyzing the dataand then classifying them into one of the following classes: positive, negative or neutral. Naive Bayes is an algorithm that is often usedin sentiment analysis research, and the results have been very good. Convolutional neural network (CNN) is a deep learning algorithmthat uses one or more layers commonly used for pattern recognition and image recognition. Having applied these methods, thisresearch found that the CNN model with the GlobalMaxPooling layer is the best model of the other two CNN models. Sentimentanalysis has the best accuracy of 78.5% on the CNN method, and NBC of 76.2% accuracy. The best accuracy result in K-fold withfive classes is 85.4% on the CNN model with a learning rate optimization of 0.00158. While the average accuracy on NBC only reached75.3%
基于卷积神经网络和朴素贝叶斯的Prakerja卡推文情感分析
在新冠肺炎大流行期间,印度尼西亚政府推出了Prakerja(就业前)卡,当地公民通过推特等社交媒体表达了他们对这一有争议的计划的看法。人们对它的评论可能是有用的信息,本研究试图使用卷积神经网络和朴素贝叶斯方法来分析人们对Prakerja Card程序的看法。这种情绪分析的主要任务是分析数据,然后将其分为以下类别之一:积极、消极或中性。朴素贝叶斯算法是情感分析研究中常用的一种算法,其结果非常好。卷积神经网络(CNN)是一种深度学习算法,使用一层或多层,通常用于模式识别和图像识别。应用这些方法后,本研究发现,具有GlobalMaxPooling层的CNN模型是其他两种CNN模型中最好的模型。在CNN方法中,情感分析的准确率最高,为78.5%,NBC的准确率为76.2%。在学习率优化为0.00158的CNN模型上,具有五个类别的K-fold的最佳准确率结果为85.4%。而NBC的平均准确率仅达到75.3%
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
6
审稿时长
8 weeks
×
引用
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学术官方微信