PeerJ Computer Science (Jun 2024)

Predicting inmate suicidal behavior with an interpretable ensemble machine learning approach in smart prisons

  • Khayyam Akhtar,
  • Muhammad Usman Yaseen,
  • Muhammad Imran,
  • Sohaib Bin Altaf Khattak,
  • Moustafa M. Nasralla

DOI
https://doi.org/10.7717/peerj-cs.2051
Journal volume & issue
Vol. 10
p. e2051

Abstract

Read online Read online

The convergence of smart technologies and predictive modelling in prisons presents an exciting opportunity to revolutionize the monitoring of inmate behaviour, allowing for the early detection of signs of distress and the effective mitigation of suicide risks. While machine learning algorithms have been extensively employed in predicting suicidal behaviour, a critical aspect that has often been overlooked is the interoperability of these models. Most of the work done on model interpretations for suicide predictions often limits itself to feature reduction and highlighting important contributing features only. To address this research gap, we used Anchor explanations for creating human-readable statements based on simple rules, which, to our knowledge, have never been used before for suicide prediction models. We also overcome the limitation of anchor explanations, which create weak rules on high-dimensionality datasets, by first reducing data features with the help of SHapley Additive exPlanations (SHAP). We further reduce data features through anchor interpretations for the final ensemble model of XGBoost and random forest. Our results indicate significant improvement when compared with state-of-the-art models, having an accuracy and precision of 98.6% and 98.9%, respectively. The F1-score for the best suicide ideation model appeared to be 96.7%.

Keywords