Jurnal Algoritma
Vol 22 No 1 (2025): Jurnal Algoritma

Analisis Sentimen Ulasan Pengguna iPhone dengan Pendekatan Hibrida RoBERTa dan XGBoost

Zain, Affa Fahmi (Unknown)
Azies, Harun Al (Unknown)
Ananda, Imanuel Khrisna (Unknown)



Article Info

Publish Date
02 Jul 2025

Abstract

User reviews play an important role in shaping perceptions of products, including the iPhone. Sentiment analysis of these reviews can provide valuable insights for companies to improve product and service quality. This study explores sentiment analysis of iPhone user reviews using a hybrid approach that combines RoBERTa and XGBoost to improve classification accuracy. The model was built and tested on a public dataset containing 2,960 reviews obtained from the Kaggle platform, following data cleaning processes. Preprocessing steps included handling missing values, encoding, and class balancing using the Synthetic Minority Over-sampling Technique (SMOTE). RoBERTa was used to extract text features and understand contextual meaning, while XGBoost served as the classification algorithm. The evaluation showed an accuracy of 99.74%, with an increase in the F1-score from 0.99 to 1.00 after applying SMOTE, particularly in the minority class. These findings demonstrate the superiority of the RoBERTa-XGBoost approach over traditional methods and contribute to the development of more balanced and adaptive classification models for imbalanced data.

Copyrights © 2025






Journal Info

Abbrev

algoritma

Publisher

Subject

Computer Science & IT

Description

Jurnal Algoritma merupakan jurnal yang digunakan untuk mempublikasikan hasil penelitian dalam bidang Teknologi Informasi (TI), Sistem Informasi (SI), dan Rekayasa Perangkat Lunak (RPL), Multimedia (MM), dan Ilmu Komputer (Computer ...