PREDICTION OF DEPRESSION AMONG NIGERIA STUDENTS USING MACHINE LEARNING: A CASE STUDY OF JOSEPH AYO BABALOLA UNIVERSITY

Student: Taiwo Christian Oyeleke
Supervisor: Dr Oluwafemi Omoniyi Abe
HOD: Mr Oluwagbenga Olayinka Lawal
Department of Computer Science
College of Agriculture and Natural Sciences
Joseph Ayo Babalola University, Ikeji-Arakeji, Osun State

Abstract

Student depression, often undetected due to its complexity, threatens well-being and academic success. Accurate prediction enables early intervention, mental health support, and policy improvements. However, existing methods often lack robustness and generalizability. To address this, I developed a Python-based prediction pipeline using Scikit-learn, comparing Logistic Regression, Random Forest, and Gradient Boosting. The dataset included 27,898 student samples (58.6% depressed) with 109 features. Models were evaluated via stratified 5-fold cross-validation on Accuracy, Precision, Recall, F1-Score, and ROC AUC. Logistic Regression performed best, achieving: Accuracy: 0.8481 ± 0.0018, Precision: 0.8580, Recall: 0.8874, F1-Score: 0.8725, ROC AUC: 0.9213, These results demonstrate strong predictive capability, offering a practical tool for proactive mental health initiatives. Even established algorithms can deliver meaningful impact in public health.

Full-Text Access Notice

In accordance with the NERD Policy on promoting peer-reviewed publication, public access to the full text of a project, thesis or dissertation is restricted for three years, allowing the author and supervisors sufficient time to pursue peer-reviewed publication. During this period, researchers with legitimate academic or research purposes may request authorisation directly from the author to enable NERD to release the indexed full texts of the work using the form below.

Request authorisation from the author