Scientific Journal of Informatics
Vol. 11 No. 4: November 2024

Implementation of K-Nearest Neighbor in Case-Based Reasoning for Mental Health Diagnosis Systems

Pamungkas, Ardian (Unknown)
Isnanto , R Rizal (Unknown)
Nugraheni , Dinar Mutiara Kusumo (Unknown)



Article Info

Publish Date
07 Mar 2025

Abstract

Purpose: Assessing a model that employs the K-Nearest Neighbor (KNN) technique within Case-Based Reasoning (CBR) for diagnosing mental health disorders, concentrating on conditions such as anxiety, depression, stress, and normalcy, while enhancing its efficacy through the utilization of historical case data for more accurate and tailored diagnostic suggestions. Methods: This study implements the KNN method in CBR to create a mental health diagnosis system that can provide accurate results without the need for complex models or intensive training. This method effectively addresses various patient needs by utilizing previous case data to provide a personalized and case-based diagnosis. This system is designed to tackle mental health issues like anxiety, depression, and academic stress, utilizing a case study of students from ITBK Bukit Pengharapan. Result: This study developed a KNN-based model for mental health diagnosis, achieving 84.62% accuracy on test data. Data processing techniques like text mining, oversampling, and cosine similarity improved performance. With an optimal K value of 2, the model achieved 88% precision, 85% recall, and an F1-score of 84%. The anxiety label performed perfectly, with 100% precision, recall, and F1-score. Novelty: This study adds innovation by integrating the rarely used CBR and KNN algorithms for mental health diagnosis systems. Innovative techniques like text mining, oversampling to get around data integration, and cosine similarity computations, which greatly enhance model performance, assist this strategy. Because this method improves accuracy and expedites the diagnosis process, both of which support clinical decision-making, it may be able to help mental health professionals.

Copyrights © 2024






Journal Info

Abbrev

sji

Publisher

Subject

Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management Electrical & Electronics Engineering Engineering

Description

Scientific Journal of Informatics (p-ISSN 2407-7658 | e-ISSN 2460-0040) published by the Department of Computer Science, Universitas Negeri Semarang, a scientific journal of Information Systems and Information Technology which includes scholarly writings on pure research and applied research in the ...