Prediction of Suicidal Tendencies Using Machine Learning: A Multimodel Approach
摘要
Suicide in Mexico is an increasing public health issue, with rates reaching 6.8 deaths per 100,000 inhabitants in 2023. This study presents a predictive system using supervised machine learning to identify individuals at suicide risk. Support Vector Machine (F1 = 99.82%), Naive Bayes (F1 = 95.41%), and Neural Networks (F1 = 99.43%) were applied to a dataset of 1,000 individuals, including variables such as past attempts, psychiatric disorders, substance abuse, anger, and social isolation. Suicidal tendencies are defined according to the DSM-5-TR as thoughts, behaviors, or intentions related to self-harm or suicide. After data preprocessing (standardization and 70/30 train-test split), models produced metrics like precision, recall, F1-score, and accuracy via a user-friendly interface. Key predictors were anger, depression, and withdrawal. The system is intended as a supportive tool to assist mental health professionals, not to replace clinical judgment. Developed in GNU Octave, it is accessible and scalable for clinical use.