JOURNAL ARTICLE

Analyzing and Predicting the US Midterm Elections on Twitter with Recurrent Neural Networks

Abstract

We propose a method and a system that aim to gauge local support for the two major US political parties in the 68 most competitive House of Representative districts during the mid-term elections. We analyze tweets explicitly posted from locations within each district. To distinguish between Republican and Democratic tweets, we adopt a RNN-LSTM binary classifier which reached validation accuracy of 85% over individual tweets, despite the highly implicit and short content shared on the social network. The method was able to predict the correct winner on 60% of the highly competitive (and thus extremely hard to predict also with traditional methods) districts. The lower result at district level is also an indicator of the population bias of the Twitter platform with respect to the actual voters. The classifier architecture, along with the other methods and tools we propose, is domain- and language- independent and may be applied to any highly polarizing topic with enough social media activity.

Keywords:
Computer science Classifier (UML) Social media Binary classification Architecture Population Artificial intelligence Recurrent neural network Artificial neural network Language model Machine learning Data science World Wide Web Support vector machine Geography

Metrics

4
Cited By
0.40
FWCI (Field Weighted Citation Impact)
14
Refs
0.70
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Sentiment Analysis and Opinion Mining
Physical Sciences →  Computer Science →  Artificial Intelligence
Opinion Dynamics and Social Influence
Physical Sciences →  Physics and Astronomy →  Statistical and Nonlinear Physics
Social Media and Politics
Social Sciences →  Social Sciences →  Communication

Related Documents

JOURNAL ARTICLE

Predicting inflation with recurrent neural networks

Livia Paranhos

Journal:   International Journal of Forecasting Year: 2025
JOURNAL ARTICLE

Predicting future personal life events on twitter via recurrent neural networks

Maryam KhodabakhshMohsen KahaniEbrahim Bagheri

Journal:   Journal of Intelligent Information Systems Year: 2018 Vol: 54 (1)Pages: 101-127
JOURNAL ARTICLE

Analyzing and Predicting Financial Time Series Data Using Recurrent Neural Networks

Zhang, CanZhou, ZhanxinWu, Ruibo

Journal:   Zenodo (CERN European Organization for Nuclear Research) Year: 2024
JOURNAL ARTICLE

Analyzing and Predicting Financial Time Series Data Using Recurrent Neural Networks

Zhang, CanZhou, ZhanxinWu, Ruibo

Journal:   Zenodo (CERN European Organization for Nuclear Research) Year: 2024
© 2026 ScienceGate Book Chapters — All rights reserved.