Related Experiment Video
Updated: Feb 11, 2026

Machine Learning Algorithms for Early Detection of Bone Metastases in an Experimental Rat Model
Published on: August 16, 2020
Predicting depression among men who have sex with men in Ghana using machine learning algorithms
Abdulzeid Yen Anafo1, LaRon E Nelson2,3, Leo Wilton4,5
1Department of Mathematical Sciences, University of Mines and Technology, Tarkwa, Ghana.
Depression in men who have sex with men (MSM) in Ghana is linked to social isolation, stress, and stigma. Machine learning models identified these as key predictors, highlighting the need for tailored mental health support.
Area of Science:
- Mental Health Research
- Social Epidemiology
- Computational Psychiatry
Background:
- Men who have sex with men (MSM) in Ghana experience significant mental health challenges, including depression, exacerbated by stigma and discrimination.
- Depression is often underdiagnosed and undertreated within this vulnerable population.
- Understanding the specific psychosocial factors contributing to depression is crucial for effective intervention.
Purpose of the Study:
- To identify key psychosocial predictors of depression among MSM in Ghana.
- To evaluate the effectiveness of various tree-based machine learning models in predicting depression risk.
- To inform the development of targeted mental health strategies for MSM in Ghana.
Main Methods:
- Employed seven tree-based machine learning classifiers (Decision Tree, Random Forest, Gradient Boosting, AdaBoost, XGBoost, LightGBM, CatBoost) on a dataset of 225 MSM.
- Utilized sociodemographic data, perceived stress, social isolation, behavioral risks, and stigma measures.
- Applied data pre-processing techniques including handling missing values, feature standardization, one-hot encoding, and Synthetic Minority Over-Sampling Technique (SMOTE) for class imbalance, with performance evaluated via 5-fold cross-validation.
Main Results:
- Random Forest model demonstrated the highest accuracy in predicting depression among MSM.
- Key predictors identified include external social isolation, perceived stress, and stigma related to same-sex behavior.
- Other significant factors contributing to depression risk involved resilience, stigma from gender non-conformity, and sense of community belonging.
Conclusions:
- Depression in Ghanaian MSM is strongly associated with social isolation, stress, and identity-based stigma.
- Machine learning, particularly ensemble methods, offers a powerful tool for identifying at-risk individuals.
- Culturally sensitive mental health interventions and policies promoting social support are essential to address depression in this population.
More Related Videos
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
12:18A Machine Learning Approach to Design an Efficient Selective Screening of Mild Cognitive Impairment
Published on: January 11, 2020
Related Concept Videos
Long-term Depression
Freezing Point Depression and Boiling Point Elevation
The boiling point of a liquid is the temperature at which its vapor pressure is equal to ambient atmospheric pressure. Since the vapor pressure of a solution is lowered due to the presence of nonvolatile solutes, it stands to reason that the solution’s boiling point will subsequently be increased. Vapor pressure increases with temperature, and so a solution will require a higher temperature than will pure solvent to achieve any given vapor pressure, including one...
Depressants
Alcohol is a common depressant that can induce a sense of relaxation and reduced inhibition at low doses. Contrary to its occasional...
Sex-linked Disorders
Predicting Molecular Geometry
Machines
A free-body diagram of the...