Indonesian Journal of Data and Science
Vol. 5 No. 3 (2024): Indonesian Journal of Data and Science

Comparative Analysis of Fuzzy Logic Models for Depression Prediction: Python and LabVIEW Approaches

Rismayanti, Nurul (Unknown)
Titaley, Gilberth Valentino (Unknown)
Handayani, Anik Nur (Unknown)



Article Info

Publish Date
31 Dec 2024

Abstract

Depression is one of the mental disorders with a significant impact on individuals' quality of life and productivity. The diagnostic process for depression, which typically relies on subjective assessment, often encounters challenges of uncertainty and variability in symptoms. This study aims to develop a fuzzy model for predicting depression levels based on five primary symptom variables: worthlessness, concentration, suicidal ideation, sleep disturbance, and hopelessness. The model is implemented on two platforms, Python and LabVIEW, to evaluate the accuracy and consistency of prediction results between these platforms. The analysis process begins with data preprocessing, input variable fuzzification, inference using 243 fuzzy rules, and defuzzification to generate a crisp output value classified into four depression levels: No Depression, Mild, Moderate, and Severe. The study results indicate a very small error margin between the two platforms, with error values below 0.01 in each trial. These findings suggest that both Python and LabVIEW can produce nearly identical and consistent predictions. This conclusion supports the effectiveness of fuzzy logic in addressing uncertainty in clinical data, especially for cases of depression with varying symptoms. Nonetheless, there are limitations related to the subjectivity in selecting membership functions and rules, as well as limitations in the number of variables used. Therefore, this study recommends expanding the developed fuzzy model with additional variables or integrating it with machine learning approaches to improve prediction accuracy. These findings are expected to serve as a foundation for the development of fuzzy-based systems in future mental health diagnostics.

Copyrights © 2024






Journal Info

Abbrev

ijodas

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Mathematics

Description

IJODAS provides online media to publish scientific articles from research in the field of Data Science, Data Mining, Data Communication, Data Security and Data ...