Analisis Sentimen Terhadap Ulasan Aplikasi Info BMKG Menggunakan Logistic Regression dan XGBoost

Penulis

DOI:

https://doi.org/10.24843/JNATIA.2026.v04.i02.p20

Kata Kunci:

Sentiment Analysis, Logistic Regression, XGBoost, TF-IDF, SMOTE

Abstrak

Public opinion through user reviews plays an important role in evaluating the quality of digital public services, especially in mobile-based government applications. This study aims to classify sentiment from 5,000 user reviews of the Info BMKG application using machine learning techniques. The text data underwent pre-processing, including lowercasing, cleaning, normalization, stopword removal, and stemming to improve data quality. Feature extraction was performed using Term Frequency–Inverse Document Frequency (TF-IDF), while class imbalance was handled through the application of the Synthetic Minority Oversampling Technique (SMOTE). Two classification models were tested: Logistic Regression and Extreme Gradient Boosting (XGBoost). Tuning of hyperparameters was conducted through Grid Search combined with five-fold cross-validation to find the optimal model configuration. Evaluation results show that Logistic Regression achieved the best performance with 86.4% accuracy and a weighted F1-score of 0.86, while XGBoost achieved 85.7% accuracy. Both models demonstrated consistent ability in detecting positive and negative sentiment. The findings suggest that Logistic Regression is a suitable and reliable approach for sentiment analysis in short-text reviews within digital public service applications.

Diterbitkan

2026-02-01

Cara Mengutip

[1]
I Made Rovan Puja Wardana dan Gst. Ayu Vida Mastrika Giri, “Analisis Sentimen Terhadap Ulasan Aplikasi Info BMKG Menggunakan Logistic Regression dan XGBoost”, Jnatia, vol. 4, no. 2, hlm. 421–430, Feb 2026, doi: 10.24843/JNATIA.2026.v04.i02.p20.

Artikel paling banyak dibaca berdasarkan penulis yang sama

1 2 > >> 

Artikel Serupa

1-10 dari 112

Anda juga bisa Mulai pencarian similarity tingkat lanjut untuk artikel ini.