Model Matematika Hibrida Lexicon–Harris Hawks Optimization untuk Analisis Sentimen Ulasan Produk Shopee

Authors

  • Miftahul Falah Universitas Sriwijaya Author
  • Yesinta Florensia Universitas Sriwijaya Author
  • Dewi Sartika Universitas Sriwijaya Author

DOI:

https://doi.org/10.36050/h239eh92

Keywords:

Harris Hawks Optimization, Hybrid Lexicon, Mathematical Model, Sentiment Analysis, Shopee Reviews

Abstract

This research presents a hybrid Lexicon–Harris Hawks Optimization (HHO) mathematical model designed to improve sentiment analysis performance on Shopee product reviews. The rapid growth of e-commerce platforms has resulted in a large volume of user-generated content, making accurate sentiment classification essential for understanding customer opinions. Traditional lexicon-based methods are simple and interpretable but often limited by static sentiment scores that fail to capture contextual nuances in real-world review data. To overcome these limitations, this study integrates a lexicon-based scoring approach with HHO to dynamically optimize sentiment weights and enhance classification accuracy. The proposed method involves four main stages: data preprocessing, baseline lexicon-based sentiment scoring, lexicon weight optimization using HHO, and final sentiment classification. HHO is employed to search for optimal lexicon weight configurations through exploration and exploitation mechanisms modeled after the cooperative hunting behavior of Harris hawks. The optimized weights are then applied to recalculate sentiment scores and classify reviews into positive, negative, or neutral categories. Performance is evaluated using accuracy, precision, recall, and F1-score. Experimental results show that the hybrid model significantly outperforms the baseline lexicon method, achieving near-perfect classification performance. The confusion matrix reveals extremely low misclassification rates, while evaluation metrics exceed 90% across all categories. The convergence curve further demonstrates stable and efficient optimization behavior. Analysis of sentiment score outputs indicates improved sensitivity for both positive and negative expressions, as well as more accurate representation of reviewer intent.

References

[1] M. S. Akin, “Enhancing e-commerce competitiveness: A comprehensive analysis of customer experiences and strategies in the Turkish market,” Journal of Open Innovation: Technology, Market, and Complexity, vol. 10, no. 1, Mar. 2024, doi: 10.1016/j.joitmc.2024.100222.

[2] J. Kim and K. Yum, “Enhancing Continuous Usage Intention in E-Commerce Marketplace Platforms: The Effects of Service Quality, Customer Satisfaction, and Trust,” Applied Sciences (Switzerland), vol. 14, no. 17, Sep. 2024, doi: 10.3390/app14177617.

[3] R. Rachmiani, N. Kintan Oktadinna, and T. Rachmat Fauzan, “The Impact of Online Reviews and Ratings on Consumer Purchasing Decisions on E-commerce Platforms,” International Journal of Management Science and Information Technology, vol. 4, no. 2, pp. 504–515, Dec. 2024, doi: 10.35870/ijmsit.v4i2.3373.

[4] R. R. Mardhotillah and B. M. Wibawa, “E-Service Quality Factors and Customer Satisfaction in Shopee’s E-Commerce Platform,” Journal of Applied Management and Business, vol. 6, no. 1, pp. 22–34, Jul. 2025, doi: 10.37802/jamb.v6i1.1050.

[5] G. Pratama and E. Ridanasti, “A Study of The Relationship Among Shopee E-commerce Platform E-service Quality, E-trust, E-customer Satisfaction and Behavioral Intentions of Online Shopping Customers,” International Journal of Management Science and Information Technology, vol. 3, no. 2, pp. 266–279, Nov. 2023, doi: 10.35870/ijmsit.v3i2.1820.

[6] Henderi, Asro, A. Sulaiman, T. B. Kurniawan, D. A. Dewi, and M. Alqudah, “Utilizing Sentiment Analysis for Reflect and Improve Education in Indonesia,” Journal of Applied Data Sciences, vol. 6, no. 1, pp. 189–200, Jan. 2025, doi: 10.47738/jads.v6i1.527.

[7] Y. Mao, Q. Liu, and Y. Zhang, “Sentiment analysis methods, applications, and challenges: A systematic literature review,” Apr. 01, 2024, King Saud bin Abdulaziz University. doi: 10.1016/j.jksuci.2024.102048.

[8] P. A. Prastyo, Berlilana, and I. Tahyudin, “Sentiment Analysis on Slang Enriched Texts Using Machine Learning Approaches,” Journal of Applied Data Sciences, vol. 6, no. 2, pp. 1076–1087, May 2025, doi: 10.47738/jads.v6i2.626.

[9] E. Kahya Özyirmidokuz, B. Molu Elmas, and E. A. Stoica, “AI-Based Sentiment Analysis of E-Commerce Customer Feedback: A Bilingual Parallel Study on the Fast Food Industry in Turkish and English,” Journal of Theoretical and Applied Electronic Commerce Research, vol. 20, no. 4, p. 294, Nov. 2025, doi: 10.3390/jtaer20040294.

[10] M. Leon, “Sentiment analysis: From rule-based lexicons to large language models,” Dec. 01, 2025, Elsevier B.V. doi: 10.1016/j.iswa.2025.200599.

[11] M. Islam and S. A. Sheikh, “Are Social Media-Based Marketing Strategies the New Mechanisms for Attracting Consumers? A Quantitative Method-Based Approach,” Journal of Theoretical and Applied Electronic Commerce Research , vol. 19, no. 4, pp. 3571–3583, Dec. 2024, doi: 10.3390/jtaer19040173.

[12] E. Kahya Özyirmidokuz, B. Molu Elmas, and E. A. Stoica, “AI-Based Sentiment Analysis of E-Commerce Customer Feedback: A Bilingual Parallel Study on the Fast Food Industry in Turkish and English,” Journal of Theoretical and Applied Electronic Commerce Research, vol. 20, no. 4, p. 294, Nov. 2025, doi: 10.3390/jtaer20040294.

[13] D. P. Nguyen, D. T. V. Duc, N. T. M. Trang, V. Q. Ket, and N. A. Hoang, “Sentiment index as a predictor of CPI: A lexicon-based approach using economic news data in Vietnam,” Journal of Open Innovation: Technology, Market, and Complexity, vol. 11, no. 3, Sep. 2025, doi: 10.1016/j.joitmc.2025.100620.

[14] R. Refianti, A. B. Mutiara, and R. A. Putra, “A Lexicon-Based Long Short-Term Memory (LSTM) Model for Sentiment Analysis to Classify Halodoc Application Reviews on Google Playstore,” Journal of Applied Data Sciences, vol. 5, no. 1, pp. 146–157, Jan. 2024, doi: 10.47738/jads.v5i1.160.

[15] A. G. Hussien et al., “Recent Advances in Harris Hawks Optimization: A Comparative Study and Applications,” Jun. 01, 2022, MDPI. doi: 10.3390/electronics11121919.

[16] H. M. Alabool, D. Alarabiat, L. Abualigah, and A. A. Heidari, “Harris hawks optimization: a comprehensive review of recent variants and applications,” Aug. 01, 2021, Springer Science and Business Media Deutschland GmbH. doi: 10.1007/s00521-021-05720-5.

[17] M. Mao and D. Gui, “Enhanced adaptive-convergence in Harris’ hawks optimization algorithm,” Artif Intell Rev, vol. 57, no. 7, Jul. 2024, doi: 10.1007/s10462-024-10802-6.

[18] F. Alsokhiry, “Leveraging Harris Hawks Optimization for Enhanced Multi-Objective Optimal Power Flow in Complex Power Systems,” Energies (Basel), vol. 18, no. 1, Jan. 2025, doi: 10.3390/en18010018.

[19] S. J. Malebary and A. W. Abulfaraj, “A Stacking Ensemble Based on Lexicon and Machine Learning Methods for the Sentiment Analysis of Tweets,” Mathematics, vol. 12, no. 21, Nov. 2024, doi: 10.3390/math12213405.

[20] I. Qutab, M. Aqeel, U. Fatima, W. Naqvi, Z. Asghar, and M. Y. Muneeb, “Optimizing Sentiment Analysis: A Novel Hybrid Model Integrating PCC-HHO with BILSTM-RNN for Enhanced Accuracy on Diverse Textual Datasets,” Article in International Journal of Engineering Research, 2024, doi: 10.17577/IJERTV13IS100031.

[21] P. Suganya, G. Vijaiprabhu, N. Shanmugapriya, M. Praneesh, M. Menaka, and K. Sathishkumar, “Depression Classification using Harris Hawk Optimization (HHO) based Recurrent Fuzzy Neural Network (FRNN) for Sentiment Analysis: An Applied Nonlinear Analysis,” 2024. [Online]. Available: https://internationalpubls.com

[22] S. K. Prabhakar and D. O. Won, “HISET: Hybrid interpretable strategies with ensemble techniques for respiratory sound classification,” Heliyon, vol. 9, no. 8, Aug. 2023, doi: 10.1016/j.heliyon.2023.e18466.

[23] Vandana, S. Srivastava, N. Arora, and V. Gupta, “An Efficient Deep Learning Model Using Harris-Hawk Optimizer for Prognostication of Mental Health Disorders,” International Research Journal of Multidisciplinary Technovation, vol. 6, no. 4, pp. 106–123, Jul. 2024, doi: 10.54392/irjmt2449.

[24] Y. Xiao, C. Kang, H. Yu, T. Fan, and H. Zhang, “Anomalous Network Traffic Detection Method Based on an Elevated Harris Hawks Optimization Method and Gated Recurrent Unit Classifier,” Sensors, vol. 22, no. 19, Oct. 2022, doi: 10.3390/s22197548.

[25] H. Fajrin, “shopee review indonesian,” Kaggle.

Downloads

Published

2025-12-30