Perbandingan Fuzzy Mamdani, Sugeno, Tsukamoto, dan ANFIS dalam Analisis Sentimen Konsumen Berbahasa Indonesia terhadap Kuliner

Authors

  • Hermansyah Hermansyah Universitas Almuslim
  • Al-Khaidar Universitas Almuslim
  • Husni Husni Universitas Almuslim

DOI:

https://doi.org/10.59059/mutiara.v4i5.3648

Keywords:

ANFIS, Culinary, Fuzzy Logic, Sentiment Analysis, SMOTE

Abstract

Consumer reviews in the culinary sector are inherently ambiguous and exhibit varying degrees of sentiment intensity, making fuzzy inference systems promising tools for interpretable sentiment classification. Methodological comparisons of Mamdani, Sugeno, Tsukamoto, and ANFIS for three-class Indonesian-language sentiment analysis using equivalent feature representations and evaluation schemes remain limited. This study aims to compare these four methods using comparable inputs, initial membership functions, rule bases, and evaluation schemes for culinary consumer sentiment analysis. The data were obtained from the Indonesian-language subset of NusaX-Senti and filtered using culinary-related keywords, yielding 501 texts (138 negative, 34 neutral, and 329 positive). Text preprocessing involved case folding, normalization, negation handling, stopword removal, and stemming. The texts were subsequently represented by two polarity features (positivity and negativity) derived from a log-odds lexicon learned exclusively from the training data. The three fuzzy inference systems employed identical membership functions and nine-rule bases, while first-order ANFIS was trained using a hybrid learning algorithm. Evaluation was conducted using 5 × 5 stratified cross-validation, with and without SMOTE applied exclusively to the training data, and performance metrics including accuracy, precision, recall, macro F1-score, and confusion matrices. Without SMOTE, ANFIS achieved the highest macro F1-score (62.13 ± 5.34%) and an accuracy of 81.04%, while Mamdani, Sugeno, and Tsukamoto achieved F1-scores ranging from 59.88% to 60.45%. However, the differences among the four methods were not statistically significant (Friedman test, p = 0.392). SMOTE increased neutral-class recall from 14.1–25.9% to 43.5–52.4% but reduced accuracy by approximately 8–11 percentage points without significantly improving the macro F1-score. These findings suggest that the quality of polarity features has a greater influence on classification performance than the choice of inference mechanism, while ANFIS offers the best observed balance between accuracy and neutral sentiment detection.

References

Afiyudin, A., & Rochmoeljati, Rr. (2025). Sentiment analysis and complaint patterns on GoFood merchants using naïve Bayes and Apriori. Academia Open, 10(2). https://doi.org/10.21070/acopen.10.2025.11401

Aji, A. F., Winata, G. I., Koto, F., Cahyawijaya, S., Romadhony, A., Mahendra, R., Kurniawan, K., Moeljadi, D., Prasojo, R. E., Baldwin, T., Lau, J. H., & Ruder, S. (2022). One country, 700+ languages: NLP challenges for underrepresented languages and dialects in Indonesia. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (pp. 7226–7249). Association for Computational Linguistics. https://doi.org/10.18653/v1/2022.acl-long.500

Barus, H., Fajri, I. N., & Pristyanto, Y. (2025). Sentiment classification analysis of Tokopedia reviews using TF-IDF, SMOTE, and traditional machine learning models. Journal of Applied Informatics and Computing, 9(5), 2552–2561. https://doi.org/10.30871/jaic.v9i5.10524

Burhanuddin, A. (2023). Analisis komparatif inferensi fuzzy Tsukamoto, Mamdani dan Sugeno terhadap produktivitas padi di Indonesia. LEDGER: Journal Informatic and Information Technology, 2(1), 48–57. https://doi.org/10.20895/ledger.v2i1.1013

Cahyawijaya, S., Lovenia, H., Aji, A. F., Winata, G., Wilie, B., . . . Purwarianti, A. (2023). NusaCrowd: Open source initiative for Indonesian NLP resources. In Findings of the Association for Computational Linguistics: ACL 2023 (pp. 13745–13818). Association for Computational Linguistics. https://doi.org/10.18653/v1/2023.findings-acl.868

Cao, J., Zhou, T., Zhi, S., Lam, S., Ren, G., Zhang, Y., Wang, Y., Dong, Y., & Cai, J. (2024). Fuzzy inference system with interpretable fuzzy rules: Advancing explainable artificial intelligence for disease diagnosis—A comprehensive review. Information Sciences, 662, Article 120212. https://doi.org/10.1016/j.ins.2024.120212

Devi, G., Rana, M. K., & Taneja, S. (2025). Integrating fuzzy logic into lexicon-based sentiment analysis: A hybrid framework. AIJR Proceedings, 7(6), 324–332. https://doi.org/10.21467/proceedings.7.6.37

Elreedy, D., Atiya, A. F., & Kamalov, F. (2024). A theoretical distribution analysis of synthetic minority oversampling technique (SMOTE) for imbalanced learning. Machine Learning, 113(7), 4903–4923. https://doi.org/10.1007/s10994-022-06296-4

Erwanda, A. P., Khaidar, A., Fikry, M., Asrianda, & Khaldun, I. (2025). Public sentiment analysis on the November 2025 flood disaster in Aceh using natural language processing and lexicon-based approach. Journal of Artificial Intelligence and Software Engineering, 5(4), 1434–1443. https://doi.org/10.30811/jaise.v5i4.8481

Ferdian, M., & Sitio, S. L. M. (2026). Penerapan metode fuzzy Tsukamoto dalam sistem pendukung keputusan penentuan stok mainan berdasarkan permintaan dan musim penjualan di Toko Vinca. Indonesian Journal of Multidisciplinary on Social and Technology, 4(3), 3441–3450. https://doi.org/10.69693/ijmst.v4i3.13039

Fragkos, N., Liapakis, A., Ntaliani, M., Ntalianis, F., & Costopoulou, C. (2024). A sentiment analysis approach for exploring customer reviews of online food delivery services: A Greek case. Digital, 4(3), 698–709. https://doi.org/10.3390/digital4030035

França, D., Aschoff, M., França, T., Macedo, D., França, V., Cabral, L., Brito, A., Siebra, C., & Araujo, T. (2026). ANFIS-Toolbox: A Python package for adaptive neuro-fuzzy inference systems. Journal of Open Research Software, 14(1), Article 14. https://doi.org/10.5334/jors.638

Hajrianti, H., Hamrul, H., & Cirua, A. A. A. (2026). Analisis sentimen pelanggan restoran menggunakan algoritma multinomial logistic regression. Techno.COM, 25(1). https://doi.org/10.62411/tc.v25i1.15532

Handoko, L. R., Faza, A., Barata, M. A., & Pajri, A. E. (2026). Comparison of the performance of K-nearest neighbor and naive Bayes algorithms for sentiment analysis of PinjamYuk application user reviews using SMOTE and TF-IDF. Journal of Applied Informatics and Computing, 10(4), 3991–4000. https://doi.org/10.30871/jaic.v10i4.13398

Hidayah, M. I. (2025). Analisis sentimen Twitter terhadap calon gubernur DKI Jakarta 2024 menggunakan logika fuzzy Mamdani. MATHunesa: Jurnal Ilmiah Matematika, 13(3), 342–349. https://doi.org/10.26740/mathunesa.v13n3.p342-349

Hossain, M. S., Rahman, M. F., Uddin, M. K., & Hossain, M. K. (2023). Customer sentiment analysis and prediction of halal restaurants using machine learning approaches. Journal of Islamic Marketing, 14(7), 1859–1889. https://doi.org/10.1108/JIMA-04-2021-0125

Jessika, J., Khaidar, A., Nurdin, N., & Muliana, S. (2025). Sentiment analysis of Instagram comments on the BPS Province X account using the naive Bayes algorithm based on machine learning. Journal of Artificial Intelligence and Software Engineering, 5(3), 1231–1237. https://doi.org/10.30811/jaise.v5i3.7815

Kapoor, S., & Narayanan, A. (2023). Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), Article 100804. https://doi.org/10.1016/j.patter.2023.100804

Khaidar, A. (2025). Analisis sentimen di Instagram terhadap Menteri Keuangan Purbaya Yudhi Sadewa menggunakan metode logistic regression. Jurnal Informatika dan Teknik Elektro Terapan, 13(3S1). https://doi.org/10.23960/jitet.v13i3S1.8002

Khudori, A. N., & Fauzih. (2026). Lexicon-based and machine learning approaches for sentiment classification of telemedicine reviews in Indonesia. J-KOMA: Jurnal Ilmu Komputer dan Aplikasi, 9(1), 39–49. https://doi.org/10.21009/JKOMA.091.05

Kusumadewi, S., Rosita, L., & Wahyuni, E. G. (2023). Stability of classification performance on an adaptive neuro fuzzy inference system for disease complication prediction. IAES International Journal of Artificial Intelligence, 12(2), 532–542. https://doi.org/10.11591/ijai.v12.i2.pp532-542

Mohammed, S. S., Menaouer, B., Zohra, A. F. F., & Nada, M. (2022). Sentiment analysis of COVID-19 tweets using adaptive neuro-fuzzy inference system models. International Journal of Software Science and Computational Intelligence, 14(3), 794–813. https://doi.org/10.4018/IJSSCI.300361

Oğan, Y., & Durmuş, Y. (2024). Application of rule-based sentiment analysis and machine learning for sentiment analysis of restaurant reviews in Cappadocia, Türkiye. Journal of Tourism and Gastronomy Studies, 12(4), 2943–2955. https://doi.org/10.21325/jotags.2024.1519

Opitz, J. (2024). A closer look at classification evaluation metrics and a critical reflection of common evaluation practice. Transactions of the Association for Computational Linguistics, 12, 820–836. https://doi.org/10.1162/tacl_a_00675

Paparang, J. K. T., & Pakereng, M. A. I. (2026). Sistem pendukung keputusan untuk menentukan peminatan mahasiswa menggunakan metode fuzzy Tsukamoto dan TOPSIS. J-Icon: Jurnal Komputer dan Informatika, 14(1), 21–33. https://doi.org/10.35508/jicon.v14i1.27447

Rainio, O., Teuho, J., & Klén, R. (2024). Evaluation metrics and statistical tests for machine learning. Scientific Reports, 14, Article 6086. https://doi.org/10.1038/s41598-024-56706-x

Rokhva, S., Teimourpour, B., & Babaei, R. (2025). Enhanced sentiment analysis of Iranian restaurant reviews utilizing sentiment intensity analyzer & fuzzy logic (arXiv:2503.12141) [Preprint]. arXiv. https://arxiv.org/abs/2503.12141

Setiawan, B. (2025). A review of sentiment analysis applications in Indonesia between 2023–2024. JIEET: Journal of Information Engineering and Educational Technology, 8(2), 71–83. https://doi.org/10.26740/jieet.v8n2.p71-83

Situngkir, D. D. T., Anita, & Purba, D. L. (2026). Klasifikasi sentimen ulasan GoFood di Google Play Store dengan metode naive Bayes. Jurnal Algoritma, 23(1), 1589–1600. https://doi.org/10.33364/algoritma/v.23-1.3479

Vashishtha, S., Gupta, V., & Mittal, M. (2023). Sentiment analysis using fuzzy logic: A comprehensive literature review. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, Article e1509. https://doi.org/10.1002/widm.1509

Wahyuni, T. D., Lestari, W., & Permatasari, H. (2026). Analisis sentimen ulasan aplikasi GoFood di Google Play Store menggunakan algoritma naïve Bayes classifier berbasis term frequency-inverse document frequency. JATI (Jurnal Mahasiswa Teknik Informatika), 10(5), 8592–8599. https://doi.org/10.36040/jati.v10i5.19423

Winata, G. I., Aji, A. F., Cahyawijaya, S., Mahendra, R., Koto, F., Romadhony, A., Kurniawan, K., Moeljadi, D., Prasojo, R. E., Fung, P., Baldwin, T., Lau, J. H., Sennrich, R., & Ruder, S. (2023). NusaX: Multilingual parallel sentiment dataset for 10 Indonesian local languages. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics (pp. 815–834). Association for Computational Linguistics. https://doi.org/10.18653/v1/2023.eacl-main.57

Yulianti, E., & Nissa, N. K. (2024). ABSA of Indonesian customer reviews using IndoBERT: Single-sentence and sentence-pair classification approaches. Bulletin of Electrical Engineering and Informatics, 13(5). https://doi.org/10.11591/eei.v13i5.8032

Zaidan, M. N., Sibaroni, Y., & Prasetyowati, S. S. (2024). Learning rate and epoch optimization in the fine-tuning process for IndoBERT's performance on sentiment analysis of MyTelkomsel app reviews. Jurnal Teknik Informatika (Jutif), 5(5), 1443–1450. https://doi.org/10.52436/1.jutif.2024.5.5.2396

Zhang, W., Deng, Y., Liu, B., Pan, S., & Bing, L. (2024). Sentiment analysis in the era of large language models: A reality check. In Findings of the Association for Computational Linguistics: NAACL 2024 (pp. 3881–3906). Association for Computational Linguistics. https://doi.org/10.18653/v1/2024.findings-naacl.246

Downloads

Published

2026-10-30

How to Cite

Hermansyah Hermansyah, Al-Khaidar, & Husni Husni. (2026). Perbandingan Fuzzy Mamdani, Sugeno, Tsukamoto, dan ANFIS dalam Analisis Sentimen Konsumen Berbahasa Indonesia terhadap Kuliner. Mutiara : Jurnal Penelitian Dan Karya Ilmiah, 4(5), 178–196. https://doi.org/10.59059/mutiara.v4i5.3648

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.