Predicting Purchase Decision Using a Hybrid KNN-WOA Model Based on Social Media Marketing and Word of Mouth Quality
(1) Universitas Serelo Lahat
(2) Universitas Serelo Lahat
(3) Universitas Serelo Lahat
(4) Universitas Serelo Lahat
(*) Corresponding Author
Abstract
Penelitian ini bertujuan untuk mengembangkan dan menguji model hybrid K-Nearest Neighbor (KNN) yang dioptimasi dengan Whale Optimization Algorithm (WOA) dalam memprediksi keputusan pembelian konsumen berdasarkan variabel Social Media Marketing (SMM) dan Word of Mouth Quality (WQ). Data penelitian diperoleh dari 100 responden dengan 22 indikator yang diukur menggunakan skala Likert 1–7. Variabel dependen berupa Purchase Decision dibentuk dari lima indikator dan dikonversi menjadi kelas biner untuk keperluan klasifikasi. Hasil analisis deskriptif menunjukkan bahwa indikator SMM dan WQ memiliki distribusi yang stabil dengan kecenderungan nilai tinggi, serta korelasi positif terhadap keputusan pembelian. Model hybrid KNN–WOA menghasilkan akurasi sebesar 95% dengan precision 0.95, recall 1.00, dan f1-score 0.97 pada kelas positif. Temuan ini menegaskan bahwa kualitas konten media sosial dan kredibilitas informasi Word of Mouth berperan signifikan dalam memengaruhi keputusan pembelian konsumen. Penelitian ini memberikan kontribusi teoritis dalam pengembangan model prediktif berbasis optimasi metaheuristik serta kontribusi praktis bagi perusahaan dalam merancang strategi pemasaran digital yang lebih efektif dan berbasis data.
Keywords
Full Text:
PDFReferences
Al Sou’b, S., & Al Shawabkeh, K. (2025). The Relationship between Digital Transformation and Digital Marketing. International Journal of Academic Research in Business and Social Sciences, 15(4). https://doi.org/10.6007/ijarbss/v15-i4/24687
Ebadi, S. M., Khamehchi, E., & Mahdavi Kalatehno, J. (2026). A comprehensive comparative analysis of particle swarm optimization and genetic algorithms in well acidizing optimization. Journal of Petroleum Exploration and Production Technology, 16(1). https://doi.org/10.1007/s13202-025-02109-1
Gattupalli, K., Siva Rama Krishna, J., & Boobalan, K. (2025). Impact of information usefulness and credibility on green product purchases with product type as moderator. Discover Sustainability, 6(1). https://doi.org/10.1007/s43621-025-01680-1
Ge, Z., Ji, C., & Zhang, B. (2025). A Review of Classic Metaheuristic Optimization Algorithms. Proceedings of 2025 6th International Conference on Computer Information and Big Data Applications, CIBDA 2025, 303–311. https://doi.org/10.1145/3746709.3746761
Hanaysha, J. R. (2022). Impact of social media marketing features on consumer’s purchase decision in the fast-food industry: Brand trust as a mediator. International Journal of Information Management Data Insights, 2(2). https://doi.org/10.1016/j.jjimei.2022.100102
Deepika, K. S., & Massand, A. (2025). A study on reflective factors of social media marketing activities and its influence on purchase intention of gen z. Acta Psychologica, 259. https://doi.org/10.1016/j.actpsy.2025.105459
Le, H. S., Do, T. V. H., Nguyen, M. H., Tran, H. A., Pham, T. T. T., Nguyen, N. T., & Nguyen, V. H. (2024). Predictive model for customer satisfaction analytics in E-commerce sector using machine learning and deep learning. International Journal of Information Management Data Insights, 4(2). https://doi.org/10.1016/j.jjimei.2024.100295
Nassef, A. M., Abdelkareem, M. A., Maghrabie, H. M., & Baroutaji, A. (2023). Review of Metaheuristic Optimization Algorithms for Power Systems Problems. In Sustainability (Switzerland) (Vol. 15, Issue 12). Multidisciplinary Digital Publishing Institute (MDPI). https://doi.org/10.3390/su15129434
Ngo, T. T. A., Bui, C. T., Chau, H. K. L., & Tran, N. P. N. (2024). Electronic word-of-mouth (eWOM) on social networking sites (SNS): Roles of information credibility in shaping online purchase intention. Heliyon, 10(11). https://doi.org/10.1016/j.heliyon.2024.e32168
Petcharat, T., & Leelasantitham, A. (2021). A retentive consumer behavior assessment model of the online purchase decision-making process. Heliyon, 7(10). https://doi.org/10.1016/j.heliyon.2021.e08169
Prakarsya, A., Putriani, N. D., Sari, Y. N., Septian, F., & Dwi Putriani, N. (2025). Optimasi Hyperparameter WOA-SVM pada Citra Daun Kopi Terpupuk NPK.
Pratama, C. A., & Astarini, R. D. (2023). Electronic Word of Mouth as a Predictor of Purchase Intention: Evidence from Instagram and TikTok in Indonesia. International Journal of Digital Entrepreneurship and Business, 4(2). https://doi.org/10.52238/ideb.v4i2.119
Rajwar, K., Deep, K., & Das, S. (2023). An exhaustive review of the metaheuristic algorithms for search and optimization: taxonomy, applications, and open challenges. Artificial Intelligence Review, 56(11), 13187–13257. https://doi.org/10.1007/s10462-023-10470-y
Rizkallah, L. W. (2025). Optimizing SVM hyperparameters for satellite imagery classification using metaheuristic and statistical techniques. International Journal of Data Science and Analytics, 20(5), 4945–4962. https://doi.org/10.1007/s41060-025-00762-7
Septian, F. (2024). Exploring the Performance of Whale Optimization Algorithm on Rosenbrock’s Function. Journal of Intelligent Systems and Information Technology, 1(2), 2024. https://jurnalapik.id/index.php/jisit
Singh, P. (2024). Beyond the basics: Exploring the impact of social media marketing enablers on business success. Heliyon, 10(5). https://doi.org/10.1016/j.heliyon.2024.e26435
Wang, C., Liu, T., Zhu, Y., Wang, H., Wang, X., & Zhao, S. (2023). The influence of consumer perception on purchase intention: Evidence from cross-border E-commerce platforms. Heliyon, 9(11). https://doi.org/10.1016/j.heliyon.2023.e21617
Wns Ali, K., Sc Hawezi, R., Wahhab Kareem, S., Sami Khoshabai, F., & Kamal Askar, S. (2022). Metaheuristic Algorithms in Optimization and its Application: A Review. In Journal on Advanced Research in Electrical Engineering (Vol. 6, Issue 1).
DOI: https://doi.org/10.53514/jco.v5i2.701
Article Metrics
DOI (PDF): https://doi.org/10.53514/jco.v5i2.701.g367
Refbacks
- There are currently no refbacks.
___________________________________________________________________
Journal
Computer Science and Informatic Systems:J-Cosys
ISSN 2776-9690 (online)
Managed by: Fakultas Teknologi Bisnis dan Sains (FTBS)
Published by: Universitas Dharma Wacana
W: https://e-jurnal.dharmawacana.ac.id/index.php/JCO
Email: lppmstmikdw@gmail.com
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
.png)