Issue |
ITM Web Conf.
Volume 65, 2024
International Conference on Multidisciplinary Approach in Engineering, Technology and Management for Sustainable Development: A Roadmap for Viksit Bharat @ 2047 (ICMAETM-24)
|
|
---|---|---|
Article Number | 03008 | |
Number of page(s) | 8 | |
Section | Computer Engineering and Information Technology | |
DOI | https://doi.org/10.1051/itmconf/20246503008 | |
Published online | 16 July 2024 |
Harnessing Twitter: Sentiment Analysis for Predicting Election Outcomes in India
1 Assistant Professor, A. M. Patel Institute of Computer StudiesGanpat University, Ganpat Vidyalaya Gujarat, India
2 Associate Professor, A. M. Patel Institute of Computer StudiesGanpat University, Ganpat Vidyalaya Gujarat, India
1* sbp05@ganpatuniversity.ac.in
2 jyotindra.dharwa@ganpatuniversity.ac.in
3 cdp02@ganpatuniversity.ac.in
This paper explores the potential of Twitter, a popular social media platform, as a tool for predicting election outcomes. Sentiment analysis has emerged as a powerful tool for predicting election outcomes, with numerous studies showcasing its effectiveness in various countries. For instance, research has utilized sentiment analysis to forecast election results in nations like the USA, India, Pakistan and other countries, demonstrating the utility of social media data in gauging public opinion and predicting electoral results [1]. Elections in India are always considered important events that most people look forward to the rapid growth of social media in the past has provided end users with powerful tools to share their ideas. Twitter, which is one such platform, provides daily updates on political events through various hashtags and trends. People react to political events and give their opinions. Our approach is to collect tweets from top political parties contesting the Gujarat Assembly Elections 2022, and then calculate sentiment scores. The database includes a variety of recent and well-liked tweets about a specific political party. Party tweets are generated with specific keywords like “BJP”, “AAP”,“Congress” and so on. In the context of India, Twitter sentiment analysis tools and classification have been used to predict the outcomes of state assembly elections, underscoring the potential of social media data in forecasting electoral results within the country [2]. We used standard machine learning algorithms like VADER sentiment analyzer on Random Forest and Decision Tree for our classification and testing data to classify tweets as positive and negative. As a result, this work uses sentiment analysis to evaluate tweets gathered from Twitter and forecast election outcomes. This work shows the growing influence of social media on politics and the feasibility of using such platforms for predictive analysis. The findings of this study could provide valuable insights for political parties, policymakers, and researchers interested in the intersection of social media and politics. Random Forest and Decision Tree models performed well in predicting election outcomes based on sentiment analysis on Twitter data with 89% and 86% respectively.
Key words: Sentiment Analysis / Twitter / Supervised Learning / Natural Language Processing / Machine Learning
© The Authors, published by EDP Sciences, 2024
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.