IIUM Repository

Exploring election prediction outcomes on social media data using machine learning algorithms

Zainol, Zuraini and Ismail, Amelia Ritahani and Nohuddin, Puteri Nor Ellyza and Sulaiman, Riza (2025) Exploring election prediction outcomes on social media data using machine learning algorithms. In: Technology for Societal Transformation: Exploring the Intersection of Information Technology and Societal Development. Springer, Singapore, pp. 121-130. ISBN 978-981-96-1720-3

[img] PDF (Book Chapter) - Published Version
Restricted to Repository staff only

Download (1MB) | Request a copy
[img] PDF (Scopus) - Supplemental Material
Download (192kB)

Abstract

Social media analytics (SMA) is immensely used to investigate public sentiment and provide real-time insights into politics and business strategy. In addition, social media analytics has been employed in predicting election results by leveraging machine learning (ML) models in extensive datasets created from user- generated content on platforms such as Twitter, Facebook, and Instagram. SMA can be highly effective in this domain, yet issues concerning authenticity and reliability persist. These data manipulations are driven by misinformation, influenced by bots, and reflect a limited representation of social media users in the electorate correspondence. This paper explores how sentiment analysis (SA) and use of ML can enhance election prediction for overcoming the identified issues. This study will evaluate Naive Bayes, random forest, and long short-term memory networks for their effectiveness in predicting election outcomes based on social media SA. Despite the potential for distortion from misinformation, these models demonstrate a prediction accuracy of 94% as shown in case studies. It also addresses how traditional methods of data collection through surveying can enhance SMA, offering a more balanced perspective on public opinion and minimizing biases present in social media data. These findings highlight that SA and ML have the potential to predict election outcomes. However, future research should prioritize the authenticity and diversity of data sources. A reduction in misinformation, achieved without relying on one single platform would lead to improved election predictions. This paper emphasizes the importance of incorporating traditional and digital sources to enhance the reliability of political predictions, complementing the insights gained from SMA.

Item Type: Book Chapter
Additional Information: 4296/124624
Subjects: Q Science > QA Mathematics > QA75 Electronic computers. Computer science
Kulliyyahs/Centres/Divisions/Institutes (Can select more than one option. Press CONTROL button): Kulliyyah of Information and Communication Technology > Department of Computer Science
Kulliyyah of Information and Communication Technology > Department of Computer Science

Kulliyyah of Information and Communication Technology
Kulliyyah of Information and Communication Technology
Depositing User: Amelia Ritahani Ismail
Date Deposited: 05 Dec 2025 15:02
Last Modified: 05 Dec 2025 15:16
Queue Number: 2025-11-Q354
URI: http://irep.iium.edu.my/id/eprint/124624

Actions (login required)

View Item View Item

Downloads

Downloads per month over past year