A machine learning approach for early prediction of mental health crises

The global mental health crisis, intensified by the COVID-19 pandemic, placed unprecedented strain on healthcare systems and highlighted the urgent need for proactive crisis prevention strategies. This study investigated the effectiveness of various machine learning (ML) models in predicting mental health crises within 28 days post-hospitalization, leveraging an eight-year longitudinal dataset. Multiple data preprocessing techniques, including feature selection (EFSA, RFECV), imputation, and class imbalance handling (SMOTE, Tomek links), were systematically applied to enhance model performance. Six traditional classifiers—logistic regression, support vector machine, k-nearest neighbors, naive Bayes, XGBoost, and AdaBoost—were evaluated alongside ensemble learning (EL) methods (bagging, boosting, stacking). Performance metrics such as accuracy, precision, recall, F1 score, and AUC-ROC were used for comprehensive assessment. Results demonstrated that ensemble methods, particularly boosting and bagging, consistently achieved high predictive accuracy (up to 93%), with XGBoost and AdaBoost emerging as top performers. Feature selection and class imbalance techniques further improved model robustness and generalizability. The findings underscored the potential of ML-driven approaches for early identification of at-risk patients, enabling more effective resource allocation and timely interventions in mental health care. Recommendations for integrating these predictive tools into clinical workflows were discussed to support data-driven decision-making.

Authors

Institutions

Publication Details

Journal
Computer Science and Information Technologies
Published
2025-09-09
DOI
https://doi.org/10.11591/csit.v6i3.p335-345
Primary Topic
Mental Health Treatment and Access
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A machine learning approach for early prediction of mental health crises

Lucy Charity Sakala, Hassan Chigagure
Computer Science and Information Technologies
Mental Health Treatment and Access
article

A machine learning approach for early prediction of mental health crises

Lucy Charity Sakala, Hassan Chigagure
article en

Abstract

The global mental health crisis, intensified by the COVID-19 pandemic, placed unprecedented strain on healthcare systems and highlighted the urgent need for proactive crisis prevention strategies. This study investigated the effectiveness of various machine learning (ML) models in predicting mental health crises within 28 days post-hospitalization, leveraging an eight-year longitudinal dataset. Multiple data preprocessing techniques, including feature selection (EFSA, RFECV), imputation, and class imbalance handling (SMOTE, Tomek links), were systematically applied to enhance model performance. Six traditional classifiers—logistic regression, support vector machine, k-nearest neighbors, naive Bayes, XGBoost, and AdaBoost—were evaluated alongside ensemble learning (EL) methods (bagging, boosting, stacking). Performance metrics such as accuracy, precision, recall, F1 score, and AUC-ROC were used for comprehensive assessment. Results demonstrated that ensemble methods, particularly boosting and bagging, consistently achieved high predictive accuracy (up to 93%), with XGBoost and AdaBoost emerging as top performers. Feature selection and class imbalance techniques further improved model robustness and generalizability. The findings underscored the potential of ML-driven approaches for early identification of at-risk patients, enabling more effective resource allocation and timely interventions in mental health care. Recommendations for integrating these predictive tools into clinical workflows were discussed to support data-driven decision-making.

Computer Science and Information TechnologiesVol. 6(3)
Harare Institute of Technology (ZW), Bindura University of Science Education (ZW)
Openalex Percentile: Top 71%
Mental Health Treatment and Access
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A machine learning approach for early prediction of mental health crises — Lucy Charity Sakala, Hassan Chigagure · Computer Science and Information Technologies (2025) | TGRS Research Map | TGRS