Back to search

San Jose State University

Prediction of 2024 Indian PM Election Results Using Sentiment Analysis on Twitter Data

Abstract

dc:description.abstract

This sentiments analysis study presents a methodical approach to predict the 2024 Indian Prime Minister Election. Data collected spanning from 2020 to 2023 from Twitter using hashtags such as IndianPMElection2024 and on topics such as the revocation of the special status of Jammu and Kashmir, the Farm Bill, and the Digital India initiative, form the core of this research. We utilized a combination of sentiment extraction tools-namely, the NLP Town's Bidirectional Encoder Representations from Transformers (BERT)-based multilingual uncased sentiment model, Valance Aware Dictionary for Sentiment Reasoning (VADER), and TextBlob. Additionally, we used a well-established machine learning model Naive Bayes, deep learning models LSTM, and BERT as our foundational models and compared them with Large Language Models (LLMs) to perform sentiment classification. This analysis aims to offer a nuanced insight into public opinion trends and their potential impact on the upcoming election.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Data Science (MSDS)
Discipline thesis:degree_discipline
Computer Science

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Gupta, Surabhi
Contributors dc:contributor
  • William Andreopoulos
  • Katerina Potika
  • Navrati Saxena

Subjects

dc:subject × 8

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
San Jose State University
Base URL
scholarworks.sjsu.edu/do/oai/
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Gupta, Surabhi. Prediction of 2024 Indian PM Election Results Using Sentiment Analysis on Twitter Data. https://doi.org/10.31979/etd.q4ka-fjr3