Classification of customer complaints on social media for e-commerce in Indonesia
Open Access
- 1 June 2025
- journal article
- Published by Institute of Advanced Engineering and Science in International Journal of Electrical and Computer Engineering (IJECE)
- Vol. 15 (3) , 2977-2985
Abstract
The e-commerce industry in Indonesia has experienced rapid growth, especially during the COVID-19 pandemic, which accelerated the shift to online platforms. The market is expected to grow by 105.5% from 2025 to 2030 due to increased internet and smartphone use. As e-commerce expands, companies must improve how they handle customer complaints to build trust and loyalty. Social media is a crucial channel for customer interactions, but it also includes non-complaint messages like positive comments, general questions, and spams that need to be filtered out. This research proposes a machine learning model to automatically classify social media interactions into complaints and non-complaints, focusing on Indonesian-language content. The modeling process utilized 10,600 data points collected from social media X. The best model, a bidirectional encoder representation from transformers (BERT) based classifier, achieved an F1-score of 98.3%. The McNemar test revealed significant performance differences between several models, with the BERT-based model outperforming others. This demonstrates that it is highly effective in distinguishing between complaints and non-complaints, making it a valuable tool for enhancing customer service in Indonesia's e-commerce sector.Keywords
This publication has 18 references indexed in Scilit:
- The Application of Random Forest to the Classification of Fake NewsBIO Web of Conferences, 2024
- Truth Seeker of the Largest Social Media Content using Machine Learning Algorithms2023
- Detection of Anti-Human Rights Discourse from Colombian Social Media Conversations Using Advanced Transformer Models2023
- Automatic Smart Crawling on Twitter for Weather Information in IndonesiaProcedia Computer Science, 2023
- Text Classification Using Machine Learning Techniques: Comparative Analysis2022
- Positive and Unlabeled Learning for Mobile Application Traffic Classification2022
- Blending Weighted TF-IDF & BERT for Improving Semantic Search2022
- Statistical significance: p value, 0.05 threshold, and applications to radiomics—reasons for a conservative approachEuropean Radiology Experimental, 2020
- Data Preprocessing for Efficient Sentimental Analysis2018
- XGBoost2016