MétaCan
Menu
Back to cohort
Record W4416430219 · doi:10.1371/journal.pmen.0000485

Predicting depression among men who have sex with men in Ghana using machine learning algorithms

2025· article· en· W4416430219 on OpenAlexaff
Abdulzeid Yen Anafo, LaRon E. Nelson, Leo Wilton, Vincent Uwumboriyhie Gmayinaam, Selasi Kwaku Ocloo

Bibliographic record

VenuePLOS mental health. · 2025
Typearticle
Languageen
FieldPsychology
TopicMental Health Treatment and Access
Canadian institutionsUniversity of Toronto
FundersFogarty International Center
KeywordsPsychosocialPsychological interventionRandom forestMen who have sex with menSocial supportDepression (economics)Mental health

Abstract

fetched live from OpenAlex

Men who have sex with men (MSM) in Ghana face heightened risks of depression due to pervasive stigma, social exclusion, and legal discrimination. Despite this, depression remains underdiagnosed and undertreated in this population. This study applied seven tree-based machine learning (ML) models using tree-based classifiers: Decision Tree, Random Forest, Gradient Boosting, AdaBoost, XGBoost, LightGBM, and CatBoost to identify key psychosocial predictors of depression in a sample of 225 MSM aged 18-60 years. The dataset included sociodemographic variables, perceived stress (PSS), social isolation (internal and external), behavioural risk indicators, and stigma-related measures. After handling missing values, data were pre-processed with feature standardization and one-hot encoding. The Synthetic Minority Over-Sampling Technique was applied to address class imbalance. Model performance was evaluated using 5-fold cross-validation and metrics such as accuracy, precision, recall, F1 score, and ROC AUC. Among all models, Random Forest achieved the highest accuracy for the prediction of depression amongst MSM in Ghana. Feature importance analysis revealed that external social isolation (ExtSocialIso2), perceived stress (PSS14), and stigma due to same-sex behaviour (StigmaSSB9) were the most consistent predictors of depression. Variables related to resilience, gender non-conformity stigma, and sense of community belonging also contributed significantly. Depression among MSM in Ghana is closely linked to social isolation, stress, and identity-based stigma. Machine learning models, especially ensemble methods, can effectively identify individuals at risk. These findings underscore the need for culturally tailored mental health interventions and inclusive policies that address stigma and promote social support among MSM in Ghana.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame distilled prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. Learned from the 10,348 direct Codex labels and 10,348 direct Gemma labels. Candidate is the union of thresholded teacher heads; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels or direct frontier model labels.

metaresearch head score (Codex)0.000
metaresearch head score (Gemma)0.000
Version: codex-gemma-dda1882f352aValidation status: machine_predicted_unvalidated
Candidate categoriesMeta-epidemiology (narrow)
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Observational · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: Empirical
Teacher disagreement score0.572
Threshold uncertainty score1.000

Codex and Gemma teacher scores by category

CategoryCodexGemma
Metaresearch0.0000.000
Meta-epidemiology (narrow)0.0000.000
Meta-epidemiology (broad)0.0000.000
Bibliometrics0.0000.000
Science and technology studies0.0010.000
Scholarly communication0.0000.000
Open science0.0000.000
Research integrity0.0000.001
Insufficient payload (model declined to judge)0.0000.000

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.031
GPT teacher head0.361
Teacher spread0.331 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one teacher head, not a consensus.

Study designObservational
Domainnot available
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations0
Published2025
Admission routes1
Has abstractyes

Explore more

Same venuePLOS mental health.Same topicMental Health Treatment and AccessFrench-language works237,207