Jurnal Nasional Pendidikan Teknik Informatika (JANAPATI)
Vol. 15 No. 1 (2026)

Sentiment Analysis of Sirekap Election Using BERT on Big Data from X (formerly Twitter) in Indonesia

Sunaryo Winardi (Department of Informatics, Universitas Mikroskil, Indonesia)
Sio Jurnalis Pipin (Department of Informatics, Universitas Mikroskil, Indonesia)
Heru Kurniawan (Department of Informatics, Universitas Mikroskil, Indonesia)
Frans Mikael Sinaga (Department of Informatics, Universitas Mikroskil, Indonesia)
Dela Amelia Sitorus (Department of Informatics, Universitas Mikroskil, Indonesia)
Devi Putriani Sinaga (Department of Informatics, Universitas Mikroskil, Indonesia)



Article Info

Publish Date
31 Mar 2026

Abstract

This study explores the use of the BERT model for sentiment analysis of the SIREKAP system, focusing on preprocessing and model optimization. Lexicon-based sentiment labeling revealed that 8% of the data was positive, 85.1% negative, and 6.9% neutral. These results were refined through manual evaluations by two judges, integrated with lexicon-based labels using majority voting. To address class imbalance, SMOTE was applied, leading to notable performance improvements. The BERT model's accuracy showed substantial enhancement after SMOTE was implemented. A lower learning rate of 1×10⁻⁵ consistently produced strong results, especially with larger batch sizes. The highest average accuracy of 98.9% was achieved at epoch 1 with a learning rate of 2.5×10⁻⁵ and a batch size of 8. This result indicates a significant improvement in model performance compared to initial results.

Copyrights © 2026






Journal Info

Abbrev

janapati

Publisher

Subject

Computer Science & IT Education Engineering

Description

Jurnal Nasional Pendidikan Teknik Informatika (JANAPATI) is a collection of scientific articles in the field of Informatics / ICT Education widely and the field of Information Technology, published and managed by Jurusan Pendidikan Teknik Informatika, Fakultas Teknik dan Kejuruan, Universitas ...