Related Experiment Video
Updated: Jul 2, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Predicting suicidal behavior: a machine learning model
A-M Vejnović1, V Tatalović, M Vujović
1Department of Psychiatry and Psychological Medicine, Faculty of Medicine, University of Novi Sad, Novi Sad, Serbia. ana-marija.vejnovic@mf.uns.ac.rs.
None:
OBJECTIVE: Timely response and identification of risk factors are critical components of suicide prevention, enabling appropriate intervention. By applying machine learning to clinical data analysis, predictive models can be developed to classify patients into high- and low-risk groups, which can help prevent loss of life. This study aims to develop a machine learning model to categorize patients based on their risk of suicide attempts. MATERIALS AND METHODS: We analyzed data from 301 respondents hospitalized at the Clinic of Psychiatry for either suicidal behavior or non-suicidal reasons. They were divided into two groups according to the presence of suicidal behavior. By using machine learning methods, we analyzed the influence of 18 observed features on the development of suicidal behavior. A predictive model was developed to classify individuals into two risk categories - high and low - for the observed population. The k-Nearest Neighbors (kNN) algorithm was used to train the model. RESULTS: The kNN-based model achieved a classification accuracy of 87%, with sensitivity at 87%, precision at 90% and an F-score of 85% for the tested sample. CONCLUSIONS: Early identification of risk factors for suicidal behavior remains the most effective strategy for prevention. Classification models may serve as valuable clinical tools for assessing suicide risk, potentially contributing to a reduction in suicide rates in Vojvodina. Expanding the database could improve the functions of the obtained classifier and enable its introduction into medical practice.
Graphical Abstract:
https://www.europeanreview.org/wp/wp-content/uploads/Graphical-Abstract-27.jpg.
Related Concept Videos
Avoidance Learning and Learned Helplessness
Avoidance learning occurs when an organism learns that a specific behavior can prevent an unpleasant outcome. For example, a student who receives a bad grade may start studying harder to avoid future poor grades. This behavior persists even when the negative outcome is no longer present. Avoidance learning is powerful because it maintains behavior in the absence of the...
Survival Tree
Building a Survival Tree
Constructing a...
Depressive Disorders: Etiology
Biological Factors in Depression
Biological predispositions significantly influence the risk of developing depressive disorders. Genetic studies highlight the role of variations in the serotonin transporter...