No CrossRef data available.
Published online by Cambridge University Press: 26 August 2025
The use of artificial intelligence (AI) in suicide risk assessment is gaining prominence as AI algorithms are capable of processing and analyzing large volumes of data quickly. Suicide risk assessments are traditionally carried out by psychiatrists and clinical psychologists following established protocols, but AI systems can provide valuable support in this area, particularly in prevention and faster detection. Based on the collected data, AI algorithms can create predictive models that identify individuals at the highest risk. These models can take into account previous mental health disorders, suicide attempts, and other social or economic factors.
The aim of our study was to test a suicide prediction model using an XGBoost machine learning tool.
We included 357 individuals, out of which 146 were psychiatric patients with a history of suicide attempts in their anamnesis, 154 were psychiatric patients without a history of suicide attempts, and 57 individuals formed the sine morbo control group. Initially, 71 individuals (test dataset) were randomly selected from the total 357, and the remaining sample (training dataset) was used to train the XGBoost machine learning tool. This training process involved optimizing and selecting the best parameters. Afterward, the final model was tested on the reserved test dataset consisting of 71 individuals.
During the machine learning process, we were able to very accurately predict who had a history of suicide attempts and who did not, with a high performance indicated by a ROC AUC score of 0.96. This demonstrates the model’s excellent ability to distinguish between individuals with and without suicide attempts based on the data used.
AI systems can complement traditional methods in suicide prevention, but they cannot replace human expertise. It is also important to pay attention to ethical issues, such as data protection and the reliability of these systems. AI can be a powerful tool in predicting suicide risk if properly integrated into mental health services.
None Declared
Comments
No Comments have been published for this article.