Skip to content
Open access

YouTube Sentiment Analysis on Felt Earthquake News Using LSTM and IndoBERT

Aug 2026 · International Journal Of Humanities Education and Social Sciences (IJHESS) · 0 citations · 12 references

TL;DR

This study analyzes public sentiment in YouTube comments on felt-earthquake news in Indonesia and compares a bidirectional Long Short-Term Memory implementation (LSTM) with IndoBERT, which provided the strongest contextual classification.

Abstract

This study analyzes public sentiment in YouTube comments on felt-earthquake news in Indonesia and compares a bidirectional Long Short-Term Memory implementation (LSTM) with IndoBERT. An experimental quantitative design was used. Comments were collected through the YouTube Data API v3 using official earthquake-event references from the Indonesian Agency for Meteorology, Climatology, and Geophysics (BMKG) and keyword-based video searches covering January 2021 to August 2025. The acquisition stage produced 51,870 comments from 1,626 unique videos. Data were processed through duplicate removal, text cleaning, case folding, slang normalization, tokenization, and stopword removal, resulting in 49,041 clean comments. Positive, negative, and neutral labels were assigned by aggregating word-polarity scores from the Indonesian Sentiment Lexicon (InSet), which served as weak supervision. Stratified sampling divided the dataset into 80% training data and 20% testing data. The LSTM model used a 100-dimensional embedding, a 64-unit bidirectional LSTM layer, global max pooling, and early stopping; IndoBERT was fine-tuned from indobenchmark/indobert-base-p2 for four epochs. Performance was assessed with accuracy, macro precision, macro recall, macro F1-score, and confusion matrices. Positive sentiment accounted for 41.2% of the corpus, negative sentiment for 35.5%, and neutral sentiment for 23.2%. IndoBERT achieved 91.50% accuracy and a 91.03% macro F1-score, outperforming LSTM at 90.91% accuracy and a 90.34% macro F1-score. IndoBERT provided the strongest contextual classification, while LSTM remained a competitive and substantially lighter option for resource-constrained monitoring

Read PDF

Similar papers

Open access Aug 2026

Topic Modeling and Sentiment Analysis on News Headlines Using BERTopic and IndoBERT Models

The findings confirm that the combination of transformer-based models is effective for in-depth analysis of discourse in Indonesian-language political news headlines from a major Indonesian online news portal (detik.com).

Bagas Yana Prayoga, Qurrotul Aini, Fitroh Fitroh · 0 citations
#generative ai Open access Sep 2026

Topic Modeling and Sentiment Analysis of YouTube Comments on OpenAI’s Stargate Project Using BERTopic and RoBERTa

The rapid development of generative artificial intelligence has sparked growing interest, widespread adoption across various sectors, and intense public debate, particularly following the announcement of the Stargate project by OpenAI, SoftBank, and Oracle. The diverse public reactions documented on social media platfo...

Yuliana Dewi Proboningrum, Hanifah Permatasari, Vihi Atina · 0 citations
Conference Aug 2026

Sentiment Analysis of Indonesian Political News using IndoBERT

Sentiment analysis of political news plays a crucial role in understanding public opinion and political discourse. This study presents a comprehensive evaluation of six deep learning and machine learning architectures for three-class sentiment analysis (Negative/Neutral/Positive) of Indonesian political news, leveragin...

Nickolas Mathew Geraldinho, Michello Rayhan Manuel, Davin Raffilio et al. · 0 citations
Open access Sep 2026

Comparative Analysis of Naïve Bayes and SMOTE-Based Long Short-Term Memory (LSTM) for Electric Vehicle Sentiment Analysis on YouTube

The transition to electric vehicles in Indonesia has generated diverse public opinions on social media. Most previous sentiment analysis studies have tended to employ a single classification method without in-depth comparison and have overlooked the issue of extreme data imbalance, which can introduce bias into classif...

Rayhan Gimnastiar, Fania Indah Lestari, Nadhif Daniswara Prasetyo et al. · 0 citations
Open access Aug 2026

LDA-Based Topic Modeling of Online Public Discourse on Rupiah Depreciation

The depreciation of the Indonesian rupiah against the US dollar throughout 2025 to mid-2026 generated substantial online discussion on social media platforms. Understanding the thematic structure of this discourse can complement existing macroeconomic analyses by revealing what concerns are expressed by online audience...

Lia Farhatuaini, Heru Purnomo Kurniawan, Muhammad Iszul Wilsa et al. · 0 citations
Review Open access Aug 2026

Sentiment Analysis of Traveloka App User Reviews Using Word2vec and LSTM

Objective: As the travel trend in Indonesia increases, online travel agent (OTA) services such as Traveloka are becoming increasingly popular. However, with high competition in this industry, companies need to understand customer sentiment to improve service quality. This study aims to develop an automated sentiment an...

Danica Kirana · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.