Supervised Machine Learning Entity Sentiment Analysis: Prediction of Support for 2024 Indonesian Presidential Candidates

Ahmad Fauzi, Jayadi Butar Butar, Indra Budi, Amanah Ramadiah, Prabu Kresna Putra, Aris Budi Santoso

Research output: Contribution to journalArticlepeer-review

Abstract

2024 is a political year in Indonesia as it marks the presidential general election. The proliferation of survey institutions attempting to capture the electability levels of each candidate may not invariably yield accurate results, as evidenced by the events of the 2016 United States Presidential election. The loyal support creates tight competition and a narrow margin in electability levels among the three contending candidates. Opinion mining on social media offers an alternative that addresses the challenges often encountered when measuring electability using traditional survey methods. This study aims to build entity-level sentiment classifiers as a new approach for predicting electability of presidential candidates based on citizen support on social media Twitter within the framework of the CRISP-DM model. The study compares 9 different algorithms with 3 vectorization techniques. Evaluation measurement with 4 metrics: accuracy, precision, recall and f1-score is performed. As a result, TF-IDF 3-gram Random Forest achieves the highest fi-score 0.84486. The selected model is then employed to measure the presidential candidates' electability levels over time. Besides streamlining the process, social media’s opinion mining enables the candidates and their constituents to monitor electability levels affordably in real-time and on-demand manner, which is advantageous compared to traditional surveys.

Original languageEnglish
Pages (from-to)587-594
JournalRevue d'Intelligence Artificielle
Volume38
Issue number02
DOIs
Publication statusPublished - 24 Apr 2024

Keywords

  • machine learning
  • opinion mining
  • presidential election
  • sentiment analysis
  • social media mining
  • traditional survey

Fingerprint

Dive into the research topics of 'Supervised Machine Learning Entity Sentiment Analysis: Prediction of Support for 2024 Indonesian Presidential Candidates'. Together they form a unique fingerprint.

Cite this