Sentiment Analysis of 2024 Presidential Candidates Election Using SVM Algorithm

  • Alfonso M
  • Rarasati D
N/ACitations
Citations of this article
29Readers
Mendeley users who have this article in their library.

Abstract

Elections for presidential candidates are held every 5 years with various candidates, especially on Twitter, arguments about political matters often occur that many Twitter users participate in discussions about the election for presidential candidate. Therefore, this study focuses on sentiment analysis to infer user responses to the presidential election and validate it by looking for a correlation between electability survey results and Twitter sentiment data using Pearson Correlation. In sentiment analysis model, the 10-Fold Cross Validation method is used to find the best model from a dataset with a division of training data and test data with 90:10 split. Then the alphabetic data will be converted into numeric data using the TF-IDF weighting method. To validate the best model, Confusion Matrix is used to get the best f1-score. The model is using Support vector machine algorithm with the Gaussian RBF (Radial Basis Function) kernel. The results of the analysis are compared with the results of the news portal electability survey which contains the 3 candidates using Pearson Correlation. This study produces the best fold for each data on each presidential candidate with the f1-score to find the best model for each fold. In the Peason Correlation result, the higher positive sentiment of each presidential candidate, the higher electability survey data. For further research, research can be discuss about hyper tuning parameters and using other kernels on Support vector machine algorithm.

Cite

CITATION STYLE

APA

Alfonso, M., & Rarasati, D. B. (2023). Sentiment Analysis of 2024 Presidential Candidates Election Using SVM Algorithm. JISA(Jurnal Informatika Dan Sains), 6(2), 110–115. https://doi.org/10.31326/jisa.v6i2.1714

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free