Anxiety disorders are common mental health problems in society, often unrecognized by the sufferer. Identifying the type of anxiety disorder and its influencing factors is crucial for proper treatment. This research aims to apply the K-Nearest Neighbor (K-NN) method in identifying types of anxiety disorders based on influencing factors, focusing on patient data from Sylvani Hospital, Binjai. The K-NN method was chosen because of its ability to classify based on data proximity. This study used medical record data of patients with anxiety disorders, which were processed using MATLAB and Microsoft Excel software. The results show that the K-NN method is effective in identifying types of anxiety disorders, with a high level of accuracy, especially in the identification of Panic Disorder (K05) and Social Anxiety Disorder (K03). The use of MATLAB simplified the identification process by automating results, while data processing in Excel improved classification accuracy. This study concludes that the K-NN method can be an effective alternative in identifying anxiety disorder types based on the factors that influence them. It is recommended for future research to involve more variables and mental health experts for a more comprehensive validation of the results.
Copyrights © 2025