Early to identify male schizophrenia patients with violence is important for the performance of targeted measures and closer monitoring, but it is difficult to use conventional risk factors. This study is aimed to employ machine learning (ML) algorithms combined with routine data to predict violent behavior among male schizophrenia patients. Moreover, the identified best model might be utilized to calculate the probability of an individual committing violence.
We enrolled a total of 397 male schizophrenia patients and randomly stratified them into the training set and the testing set, in a 7:3 ratio. We used eight ML algorithms to develop the predictive models. The main variables as input features selected by the least absolute shrinkage and selection operator (LASSO) and logistic regression (LR) were integrated into prediction models for violence among male schizophrenia patients. In the training set, 10 × 10-fold cross-validation was conducted to adjust the parameters. In the testing set, we evaluated and compared the predictive performance of eight ML algorithms in terms of area under the curve (AUC) for the receiver operating characteristic curve.
Our results showed the prevalence of violence among male schizophrenia patients was 36.8%. The LASSO and LR identified main risk factors for violent behavior in patients with schizophrenia integrated into the predictive models, including lower education level [0.556 (0.378–0.816)], having cigarette smoking [2.121 (1.191–3.779)], higher positive syndrome [1.016 (1.002–1.031)] and higher social disability screening schedule (SDSS) [1.081 (1.026–1.139)]. The Neural Net (nnet) with an AUC of 0.6673 (0.5599–0.7748) had better prediction ability than that of other algorithms.
ML algorithms are useful in early identifying male schizophrenia patients with violence and helping clinicians take preventive measures.