Application of Mamdani Fuzzy Logic in Identifying Postpartum Depression Risk

  • Agnes Nola Sekar Kinasih Universitas Negeri Malang
  • Moh Hosen Universitas Negeri Malang
  • Anik Nur Handayani Universitas Negeri Malang

Keywords: Postpartum Depression Risk Assessment, Fuzzy Inference System Application, Subjective Symptom Interpretation, Decision Support Systems in Healthcare, Healthcare Decision Support Systems

Abstract

Introduction: Postpartum depression (PPD) is a common psychological disorder affecting mothers after childbirth, often underdiagnosed due to the subjective nature of its symptoms. Early detection is crucial to prevent adverse effects on maternal and child health. This study aims to develop an early detection system for PPD risk using Mamdani fuzzy logic, which is well-suited to handle vague and imprecise symptom data. Methods: A fuzzy inference system was designed using the Mamdani method to classify PPD risk into Low, Medium, and High categories. The system was built upon a dataset of 1503 questionnaire responses sourced from Kaggle. Subjective symptoms such as sadness, irritability, sleep disturbances, and bonding difficulties were mapped into fuzzy membership functions. A total of 243 fuzzy rules were defined to reflect realistic combinations of symptoms. The system was implemented and validated in both Python and LabVIEW environments. Results: Experimental validation using 10 test inputs showed consistent results between the two platforms, with a deviation of less than ±1%. This consistency confirms the reliability of the fuzzy logic model in interpreting subjective symptom data. The system demonstrated strong potential for classifying PPD risk based on nuanced input variables. Conclusions: The Mamdani fuzzy logic system offers a reliable and flexible tool for assessing postpartum depression risk. By effectively interpreting ambiguous symptoms, it supports healthcare professionals in identifying at-risk individuals for early intervention. Future enhancements should include expanding the dataset and refining the rule base for broader applicability and improved accuracy.

Downloads

Download data is not yet available.

References

K. Chrysafiadi, “Fuzzy Logic,” in Learning and Analytics in Intelligent Systems, vol. 34, Springer Nature, 2023, pp. 2–24. doi: 10.1007/978-3-031-44457-9_1.

H. Thakkar, V. Shah, H. Yagnik, and M. Shah, “Comparative anatomization of data mining and fuzzy logic techniques used in diabetes prognosis,” 2021. doi: 10.1016/j.ceh.2020.11.001.

F. Valdez, O. Castillo, and C. Peraza, “Fuzzy Logic in Dynamic Parameter Adaptation of Harmony Search Optimization for Benchmark Functions and Fuzzy Controllers,” International Journal of Fuzzy Systems, vol. 22, no. 4, 2020, doi: 10.1007/s40815-020-00860-7.

Y. Liu, L. Zhang, N. Guo, and H. Jiang, “Postpartum depression and postpartum post-traumatic stress disorder: prevalence and associated factors,” BMC Psychiatry, vol. 21, no. 1, 2021, doi: 10.1186/s12888-021-03432-7.

X. hu Zhao and Z. hua Zhang, “Risk factors for postpartum depression: An evidence-based systematic review of systematic reviews and meta-analyses,” 2020. doi: 10.1016/j.ajp.2020.102353.

A. Vengadavaradan, B. Bharadwaj, G. Sathyanarayanan, and J. Durairaj, “Frequency and correlates of mother-infant bonding disorders among postpartum women in India,” Asian J Psychiatr, vol. 44, 2019, doi: 10.1016/j.ajp.2019.07.004.

B. Levis, Z. Negeri, Y. Sun, A. Benedetti, and B. D. Thombs, “Accuracy of the Edinburgh Postnatal Depression Scale (EPDS) for screening to detect major depression among pregnant and postpartum women: Systematic review and meta-analysis of individual participant data,” 2020. doi: 10.1136/bmj.m4022.

K. A. Kendall-Tackett, “The Edinburgh Postnatal Depression Scale (EPDS),” in Depression in New Mothers, Volume 2, 2024. doi: 10.4324/9781003405092-4.

V. D. A. Kumar et al., “A novel solution for finding postpartum haemorrhage using fuzzy neural techniques,” Neural Comput Appl, vol. 35, no. 33, 2023, doi: 10.1007/s00521-020-05683-z.

A. T. Nguyen, A. Dehak, T. M. Guerra, and M. Sugeno, “Convex Stability Analysis of Mamdani-Like Fuzzy Systems With Singleton Consequents,” IEEE Transactions on Fuzzy Systems, vol. 31, no. 11, 2023, doi: 10.1109/TFUZZ.2023.3267849.

A. Kodipalli and S. Devi, “Analysis of fuzzy based intelligent health care application system for the diagnosis of mental health in women with ovarian cancer using computational models,” Intelligent Decision Technologies, vol. 17, no. 1, 2023, doi: 10.3233/IDT-228006.

M. Ramzan, M. Hamid, A. A. Alhussan, H. N. AlEisa, and H. A. Abdallah, “Accurate Prediction of Anxiety Levels in Asian Countries Using a Fuzzy Expert System,” Healthcare (Switzerland), vol. 11, no. 11, 2023, doi: 10.3390/healthcare11111594.

J. Zhang, “A Study on Mental Health Assessments of College Students Based on Triangular Fuzzy Function and Entropy Weight Method,” Math Probl Eng, vol. 2021, 2021, doi: 10.1155/2021/6659990.

A. Kodipalli and S. Devi, “Prediction of PCOS and Mental Health Using Fuzzy Inference and SVM,” Front Public Health, vol. 9, 2021, doi: 10.3389/fpubh.2021.789569.

Dewi Widyawati and Amaliah Faradibah, “Comparison Analysis of Classification Model Performance in Lung Cancer Prediction Using Decision Tree, Naive Bayes, and Support Vector Machine,” Indonesian Journal of Data and Science, vol. 4, no. 2, 2023, doi: 10.56705/ijodas.v4i2.76.

Amaliah Faradibah, Dewi Widyawati, A Ulfah Tenripada Syahar, and Sitti Rahmah Jabir, “Comparison Analysis of Random Forest Classifier, Support Vector Machine, and Artificial Neural Network Performance in Multiclass Brain Tumor Classification,” Indonesian Journal of Data and Science, vol. 4, no. 2, 2023, doi: 10.56705/ijodas.v4i2.73.

P. Nagaraj and P. Deepalakshmi, “An intelligent fuzzy inference rule-based expert recommendation system for predictive diabetes diagnosis,” Int J Imaging Syst Technol, vol. 32, no. 4, 2022, doi: 10.1002/ima.22710.

Y. Liu, C. M. Eckert, and C. Earl, “A review of fuzzy AHP methods for decision-making with subjective judgements,” 2020. doi: 10.1016/j.eswa.2020.113738.

R. Kumar and G. Dhiman, “A Comparative Study of Fuzzy Optimization through Fuzzy Number,” International Journal of Modern Research, vol. 1, no. 1, 2021.

J. Deng and Y. Deng, “Information Volume of Fuzzy Membership Function,” International Journal of Computers, Communications and Control, vol. 16, no. 1, 2021, doi: 10.15837/ijccc.2021.1.4106.

J. Kerr-Wilson and W. Pedrycz, “Generating a hierarchical fuzzy rule-based model,” Fuzzy Sets Syst, vol. 381, 2020, doi: 10.1016/j.fss.2019.07.013.

S. Othmen, “Enhancing IoT-Enabled Healthcare Applications by Efficient Cluster Head and Path Selection Using Fuzzy Logic and Enhanced Particle Swarm Optimization,” Int. J. Commun. Syst., vol. 38, no. 3, 2025, doi: 10.1002/dac.6096.

A. A. M. Kurniawan, “Fuzzy logic method for making push notifications on monitoring system of IoT-based electric truck charging,” Bull. Electr. Eng. Informatics, vol. 14, no. 1, pp. 118–131, 2025, doi: 10.11591/eei.v14i1.7412.

F. Irwanto, “IoT and fuzzy logic integration for improved substrate environment management in mushroom cultivation,” Smart Agric. Technol., vol. 7, 2024, doi: 10.1016/j.atech.2024.100427.

Y. Li, “Prediction Model for Geologically Complicated Fault Structure Based on Artificial Neural Network and Fuzzy Logic,” Sci. Program., vol. 2022, 2022, doi: 10.1155/2022/2630953.

Published
2025-03-31
How to Cite
Kinasih, A. N. S., Hosen, M., & Handayani, A. N. (2025). Application of Mamdani Fuzzy Logic in Identifying Postpartum Depression Risk. Indonesian Journal of Data and Science, 6(1), 20-28. https://doi.org/10.56705/ijodas.v6i1.193