Perancangan dan Implementasi Arsitektur Data Pipeline Otomatis untuk Analisis Sentimen Ulasan Aplikasi E-Commerce menggunakan Apache Airflow, Docker, dan Ensemble Learning
DOI:
https://doi.org/10.62951/modem.v4i3.937Keywords:
Data Pipeline, Apache Airflow, Web Scraping, Sentiment Analysis, Ensemble LearningAbstract
The growth of user reviews on e-commerce platforms in Indonesia is growing much faster than conventional analysis capacity that relies on manual review. This study designs and implements an automated data pipeline based on an ETL (Extract, Transform, Load) architecture that integrates data acquisition through dynamic web scraping (Selenium), Indonesian text preprocessing, sentiment classification using Ensemble Learning models (Multinomial Naive Bayes and Random Forest), workflow orchestration using Apache Airflow, containerization with Docker, and storage of results in a PostgreSQL database. The system is tested using a case study of reviews of three popular e-commerce applications in Indonesia (Shopee, Tokopedia, and Blibli) with a total of more than 30,000 rows of raw review data. The test results show that the pipeline runs successfully end-to-end and automatically, with an idempotency mechanism that successfully maintains data integrity from the risk of duplication. The Ensemble model achieves an overall accuracy of 77.94% using the SMOTE (Synthetic Minority Over-sampling Technique) technique to address class imbalance. However, a per-class evaluation analysis revealed that SMOTE was only effective in improving performance on minority classes with relatively sufficient source data, while failing to provide significant improvements on classes with extreme imbalance. This finding provides a methodological contribution regarding the limitations of oversampling techniques' effectiveness in very limited data and emphasizes the importance of evaluating per-class metrics rather than relying solely on overall accuracy.
Downloads
References
Agbesi, V. K., Chen, W., Yussif, S. B., Ukwuoma, C. C., Gu, Y. H., & Al-Antari, M. A. (2024). MuTCELM: An optimal multi-TextCNN-based ensemble learning for text classification. Heliyon, 10(19), e38515. https://doi.org/10.1016/j.heliyon.2024.e38515
George, S., & Srividhya, V. (2022). Performance evaluation of sentiment analysis on balanced and imbalanced dataset using ensemble approach. Indian Journal of Science and Technology, 15(17), 790–797. https://doi.org/10.17485/IJST/v15i17.2339
Mbata, A., Sripada, Y., & Zhong, M. (2024). A survey of pipeline tools for data engineering. arXiv. http://arxiv.org/abs/2406.08335
Muhammad Adhit Dwi Yuda. (2025). Implementasi web scraping untuk ekstraksi data penjual dan produk panel surya di e-commerce. KONSTELASI: Konvergensi Teknologi dan Sistem Informasi, 5(1), 1–12. https://doi.org/10.24002/konstelasi.v5i1.11751
Muhammadi, R. H., Laksana, T. G., & Arifa, A. B. (2022). Combination of support vector machine and lexicon-based algorithm in Twitter sentiment analysis. Khazanah Informatika: Jurnal Ilmu Komputer dan Informatika, 8(1), 59–71. https://doi.org/10.23917/khif.v8i1.15213
Nayak, U. (2025). Comparing AWS Glue vs. Apache Airflow for data orchestration: A comprehensive performance and cost analysis. International Journal of Emerging Trends in Computer Science and Information Technology, 6(3), 51–55. https://doi.org/10.63282/3050-9246.IJETCSIT-V6I3P109
Ogunsola, K. O., Balogun, E. D., & Ogunmokun, A. S. (2022). Developing an automated ETL pipeline model for enhanced data quality and governance in analytics. International Journal of Multidisciplinary Research and Growth Evaluation, 3(1), 791–796. https://doi.org/10.54660/.IJMRGE.2022.3.1.791-796
Romadhony, A., Faraby, S. Al, Rismala, R., Wisesti, U. N., & Arifianto, A. (2024). Sentiment analysis on a large Indonesian product review dataset. Journal of Information Systems Engineering and Business Intelligence, 10(1), 167–178. https://doi.org/10.20473/jisebi.10.1.167-178
Santosh, K. S. (2022). ETL process automation: Tools and techniques. ESP Journal of Engineering & Technology Advancements, 2(1), 1–13. https://doi.org/10.56472/25832646/JETA-V2I1P110
Sharma, K., & Borkar, G. M. (2023). Comparative analysis of dynamic web scraping strategies: Evaluating techniques for enhanced data acquisition. Advancements in Communication and Systems, 241–252. https://doi.org/10.56155/978-81-955020-7-3-22
Siregar, M. E., Dermawan, S., & Hisyam, A. A. (2025). Perbandingan kinerja Naive Bayes dan KNN dalam analisis sentimen komentar X dengan dan tanpa text preprocessing (Studi kasus: Danantara). Jurnal Informatika dan Teknik Elektro Terapan, 13(3). https://doi.org/10.23960/jitet.v13i3.6612
Tarawneh, A. S., Hassanat, A. B., Altarawneh, G. A., & Almuhaimeed, A. (2022). Stop oversampling for class imbalance learning: A review. IEEE Access, 10, 47643–47660. https://doi.org/10.1109/ACCESS.2022.3169512
Wahyudi, E. E., Auzan, M., Dharmawan, A., Nuryanto, D. E., Susyanto, N., Samodra, G., & Hadmoko, D. S. (2022). Akuisisi data prediksi curah hujan secara periodik menggunakan Apache Airflow. Journal of Informatics, Information System, Software Engineering and Applications (INISTA), 4(2), 1–12. https://doi.org/10.20895/inista.v4i2.574
Yasin, A., Fatima, R., Ghazi, A. N., & Wei, Z. (2024). Python data odyssey: Mining user feedback from Google Play Store. Data in Brief, 54, 110499. https://doi.org/10.1016/j.dib.2024.110499
Zakaria, R., & Satyawan, M. (2023). Strategi implementasi fintech reward crowdfunding di Indonesia sektor ekonomi kreatif. Jurnal Bisnis dan Manajemen West Science, 2(2), 145–167. https://doi.org/10.58812/jbmws.v2i02.328
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Modem : Jurnal Informatika dan Sains Teknologi.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.



