{"title":"利用Naïve贝叶斯和信息获取方法对印尼盐政策进行情感分析","authors":"None Yeni Kustiyahningsih, None Ikromul Islam, None Bain Khusnul Khotimah, None Jaka Purnama","doi":"10.47577/technium.v17i.10121","DOIUrl":null,"url":null,"abstract":"Salt production is one of the concerns of the Indonesian government. Several government policies such as salt imports have had a major impact on local salt farmers. Other factors are due to the increased demand for salt, decreased domestic salt production which is unfavorable due to weather factors, and the price of imported salt is lower than that of local salt. Many people express their opinions regarding the salt import policy, via Twitter social media. Sentiment analysis can be applied to analyze tweets or writings by the public regarding salt import policies and classify the data. This study uses the naïve Bayes classifier algorithm model as a sentiment classification algorithm on Twitter social media tweets. The classification process uses the Naïve Bayes algorithm. The feature extraction and weighting method is the TF-IDF method. Not all of the features resulting from the TF-IDF process are used, so feature selection is carried out using the information gain method. Model testing was carried out 5 times with 500 data, using feature selection and without feature selection. Without feature selection, the highest accuracy result is 84% at K=4, while without feature selection it produces an accuracy of 71% at K=3, so there is an increase of 13%.","PeriodicalId":490649,"journal":{"name":"Technium","volume":"15 3","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Sentiment Analysis for Indonesian Salt Policy uses Naïve Bayes and Information Gain Methods\",\"authors\":\"None Yeni Kustiyahningsih, None Ikromul Islam, None Bain Khusnul Khotimah, None Jaka Purnama\",\"doi\":\"10.47577/technium.v17i.10121\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Salt production is one of the concerns of the Indonesian government. Several government policies such as salt imports have had a major impact on local salt farmers. Other factors are due to the increased demand for salt, decreased domestic salt production which is unfavorable due to weather factors, and the price of imported salt is lower than that of local salt. Many people express their opinions regarding the salt import policy, via Twitter social media. Sentiment analysis can be applied to analyze tweets or writings by the public regarding salt import policies and classify the data. This study uses the naïve Bayes classifier algorithm model as a sentiment classification algorithm on Twitter social media tweets. The classification process uses the Naïve Bayes algorithm. The feature extraction and weighting method is the TF-IDF method. Not all of the features resulting from the TF-IDF process are used, so feature selection is carried out using the information gain method. Model testing was carried out 5 times with 500 data, using feature selection and without feature selection. Without feature selection, the highest accuracy result is 84% at K=4, while without feature selection it produces an accuracy of 71% at K=3, so there is an increase of 13%.\",\"PeriodicalId\":490649,\"journal\":{\"name\":\"Technium\",\"volume\":\"15 3\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Technium\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.47577/technium.v17i.10121\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Technium","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.47577/technium.v17i.10121","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Sentiment Analysis for Indonesian Salt Policy uses Naïve Bayes and Information Gain Methods
Salt production is one of the concerns of the Indonesian government. Several government policies such as salt imports have had a major impact on local salt farmers. Other factors are due to the increased demand for salt, decreased domestic salt production which is unfavorable due to weather factors, and the price of imported salt is lower than that of local salt. Many people express their opinions regarding the salt import policy, via Twitter social media. Sentiment analysis can be applied to analyze tweets or writings by the public regarding salt import policies and classify the data. This study uses the naïve Bayes classifier algorithm model as a sentiment classification algorithm on Twitter social media tweets. The classification process uses the Naïve Bayes algorithm. The feature extraction and weighting method is the TF-IDF method. Not all of the features resulting from the TF-IDF process are used, so feature selection is carried out using the information gain method. Model testing was carried out 5 times with 500 data, using feature selection and without feature selection. Without feature selection, the highest accuracy result is 84% at K=4, while without feature selection it produces an accuracy of 71% at K=3, so there is an increase of 13%.