Table 1.
Comparative analysis of prevalence and risk factors of violence in psychiatric inpatients: A review of recent studies (2019–2022).
Fig 1.
The text preprocessing steps.
Fig 2.
Confusion matrix.
Table 2.
Characteristics of patients in violent and nonviolent groups.
Fig 3.
Prediction model performance assessment using 10-fold cross-validation.
Table 3.
Prediction model performance assessment using 10-fold cross-validation.