Journal of Computer System and Informatics (JoSYC)
Vol 4 No 2 (2023): Februari 2023

2024 Presidential Election Sentiment Analysis in News Media Using Support Vector Machine

Bayu Muhammad Iqbal (Universitas Telkom, Bandung)
Kemas Muslim Lhaksmana (Telkom University, Bandung)
Erwin Budi Setiawan (Telkom University, Bandung)



Article Info

Publish Date
28 Feb 2023

Abstract

The 2024 presidential election is an event for all Indonesian people to determine their best leader. The presidential and vice presidential candidates are also competing to give their best efforts so that they can be elected as President and Vice President. The news media also provide news related to the 2024 presidential election with various titles that can interest their readers. Not infrequently the titles raised contain words that have sentiments, both positive and negative. In order to facilitate the analysis of the sentiments of these news titles, it is necessary to build a system that can detect the sentiments of these titles. In this study, we built a sentiment analysis system using the Support Vector Machine (SVM) method on news headline data obtained from online news media to detect whether news headlines contain positive or negative sentiments. For feature exctraction we compare the effect of FastText word embedding with TF-IDF for feature extraction. In the SVM method, several experiments were carried out on the attributes of C, kernel, gamma, and the ratio of the test data. The results obtained are a FastText can outperform TF-IDF for feature extraction. Also, combination of Kernel, C, and gamma values that give the best accuracy score of rbf, 1, and auto respectively at a test data ratio of 90:10, with an accuracy score of 99%.

Copyrights © 2023






Journal Info

Abbrev

josyc

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Industrial & Manufacturing Engineering

Description

Journal of Computer System and Informatics (JoSYC) covers the whole spectrum of Artificial Inteligent, Computer System, Informatics Technique which includes, but is not limited to: Soft Computing, Distributed Intelligent Systems, Database Management and Information Retrieval, Evolutionary ...