Back to results
Bibliographic record · Consultation and access
Artículo

Sentiment Analysis of the 2024 General Election Through Twitter using Long-Short-Term Memory Algorithm

Angga Wahyu W et al · MMU Press · 2025

Supplementary material available
Quick overview. Review the resource’s basic details, then access the content using the main button. This page shows only the information needed to identify, cite, and open the work.

Resource access

Open the content from the main option or choose another available source.

DOAJ DOAJ Articles
Entrar por DOAJ
Main access

Supplementary material available

El enlace apunta a material asociado, anexos, tablas, datos o página complementaria. No se marca como libro/texto completo.
Open material

Summary

Descripción general del contenido del recurso.

This study analyses sentiment related to the 2024 Indonesian Presidential Election using the Long Short-Term Memory (LSTM) algorithm. A total of 2,400 tweets in the Indonesian language were gathered, with approximately 400 tweets sampled per week. In the data preparation, lexicon-based sentiment tagging, oversampling for class balance, and the creation and training of an LSTM model are all included in the study approach. The built model consists of embedding layers, Conv1D, and two LSTM layers. The LSTM model was selected due to its ability to capture long-range contextual dependencies in sequential text data like tweets, facilitated by its gate mechanisms (input, forget, output) that regulate information flow. The model achieved 84.3% accuracy in classifying sentiments (positive, neutral, negative), demonstrating its potential for real-time public opinion monitoring. The results provide actionable insights for election organisers and political analysts. For further study, using a wider spectrum of data to supplement model performance will help development. Tweaking hyperparameters and playing with other architectural models like GRUs or Transformers could improve model accuracy. Improved sentiment tagging calls for a more thorough and relevant sentiment vocabulary. The proposed model can be further developed into a real-time sentiment analysis tool to provide insights into public opinion on elections and other concerns.

How to cite

Elegí el formato que necesitás y copiá la referencia al portapapeles.

APA 7

al, A. W. W. E. (2025). Sentiment Analysis of the 2024 General Election Through Twitter using Long-Short-Term Memory Algorithm. https://doi.org/10.33093/jiwe.2025.4.2.25

MLA

al, Angga Wahyu W et. "Sentiment Analysis of the 2024 General Election Through Twitter using Long-Short-Term Memory Algorithm." 2025. https://doi.org/10.33093/jiwe.2025.4.2.25.

Chicago

al, Angga Wahyu W et. 2025. "Sentiment Analysis of the 2024 General Election Through Twitter using Long-Short-Term Memory Algorithm.". https://doi.org/10.33093/jiwe.2025.4.2.25.

Harvard

al, A. W. W. E. 2025, Sentiment Analysis of the 2024 General Election Through Twitter using Long-Short-Term Memory Algorithm, MMU Press, available at: https://doi.org/10.33093/jiwe.2025.4.2.25 [Accessed 7 Aug. 2026].

Share and print

Save the record, copy its permanent link, or print it as a PDF.

Export reference

You can export the record in common formats for use in a reference manager.

Resource details

Bibliographic information to help confirm that this is the correct material.

Title
Sentiment Analysis of the 2024 General Election Through Twitter using Long-Short-Term Memory Algorithm
Author / contributors
Angga Wahyu W et al
Publisher
MMU Press
Publication year
2025
ISSN
2821-370X
ISSN
2821-370X
Language
English

Subjects

Explore related resources through these subjects.

Copied