Fiki Firmansyah, W. B. Zulfikar, D. Maylawati, Nunik Destria Arianti, L. Muliawaty, M. Septiadi, M. Ramdhani
{"title":"支持向量机与k -最近邻算法对2019年印尼总统选举情绪分析的比较","authors":"Fiki Firmansyah, W. B. Zulfikar, D. Maylawati, Nunik Destria Arianti, L. Muliawaty, M. Septiadi, M. Ramdhani","doi":"10.1109/ICCED51276.2020.9415767","DOIUrl":null,"url":null,"abstract":"The purpose of this research is to compare the effectiveness of the Support Vector Machine (SVM) algorithm with the K-Nearest Neighbor (KNN) algorithm in predicting the results of the Indonesian presidential election 2019 based on sentiment analysis on social media (Twitter). The research methodology used includes several stages: preprocessing and weighting using TF-IDF. The SVM algorithm has the highest accuracy compared to the KNN algorithm. The average accuracy of SVM algorithm is 69.27, with the highest accuracy is 76.5%, while the average value of the KNN algorithm is 61.3% with the highest accuracy of 68.3%. The fastest training time is obtained by the KNN algorithm, while the SVM algorithm obtains the fastest testing time. The results of presidential predictions based on positive sentiment, namely candidate number 01 obtained a percentage of 67.98% while the number of positive sentiment predictions from candidate number 02 was 67.79%.","PeriodicalId":344981,"journal":{"name":"2020 6th International Conference on Computing Engineering and Design (ICCED)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-10-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":"{\"title\":\"Comparing Sentiment Analysis of Indonesian Presidential Election 2019 with Support Vector Machine and K-Nearest Neighbor Algorithm\",\"authors\":\"Fiki Firmansyah, W. B. Zulfikar, D. Maylawati, Nunik Destria Arianti, L. Muliawaty, M. Septiadi, M. Ramdhani\",\"doi\":\"10.1109/ICCED51276.2020.9415767\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The purpose of this research is to compare the effectiveness of the Support Vector Machine (SVM) algorithm with the K-Nearest Neighbor (KNN) algorithm in predicting the results of the Indonesian presidential election 2019 based on sentiment analysis on social media (Twitter). The research methodology used includes several stages: preprocessing and weighting using TF-IDF. The SVM algorithm has the highest accuracy compared to the KNN algorithm. The average accuracy of SVM algorithm is 69.27, with the highest accuracy is 76.5%, while the average value of the KNN algorithm is 61.3% with the highest accuracy of 68.3%. The fastest training time is obtained by the KNN algorithm, while the SVM algorithm obtains the fastest testing time. The results of presidential predictions based on positive sentiment, namely candidate number 01 obtained a percentage of 67.98% while the number of positive sentiment predictions from candidate number 02 was 67.79%.\",\"PeriodicalId\":344981,\"journal\":{\"name\":\"2020 6th International Conference on Computing Engineering and Design (ICCED)\",\"volume\":\"6 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-10-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"4\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 6th International Conference on Computing Engineering and Design (ICCED)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICCED51276.2020.9415767\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 6th International Conference on Computing Engineering and Design (ICCED)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCED51276.2020.9415767","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Comparing Sentiment Analysis of Indonesian Presidential Election 2019 with Support Vector Machine and K-Nearest Neighbor Algorithm
The purpose of this research is to compare the effectiveness of the Support Vector Machine (SVM) algorithm with the K-Nearest Neighbor (KNN) algorithm in predicting the results of the Indonesian presidential election 2019 based on sentiment analysis on social media (Twitter). The research methodology used includes several stages: preprocessing and weighting using TF-IDF. The SVM algorithm has the highest accuracy compared to the KNN algorithm. The average accuracy of SVM algorithm is 69.27, with the highest accuracy is 76.5%, while the average value of the KNN algorithm is 61.3% with the highest accuracy of 68.3%. The fastest training time is obtained by the KNN algorithm, while the SVM algorithm obtains the fastest testing time. The results of presidential predictions based on positive sentiment, namely candidate number 01 obtained a percentage of 67.98% while the number of positive sentiment predictions from candidate number 02 was 67.79%.