Sub-Saharan African University Develops AI Model to Predict Student Failure in Early Computer Science Courses

Researchers at a major public university in sub-Saharan Africa have developed an early warning system using AI to predict which first-year computer science students are at risk of failing. The system analyzes digital markers from learning platforms, demographic information, and academic performance data to identify struggling students by the fifth week of the semester, allowing for timely intervention.
The study utilized data from 284 students across four cohorts between 2017 and 2021. Through a mixed-methods approach and stakeholder input, ten potential predictive factors were identified, including demographics, self-reported surveys, Moodle interaction logs, and continuous assessment scores. A systematic analysis revealed that weighted academic momentum, basic demographics (gender, sponsorship, COVID-19 cohort), and any learning management system (LMS) activity were the most significant predictors.
The logistic regression model achieved an accuracy of 74.7% and, crucially, identified 87% of failing students on a held-out test set. While the false positive rate was 41%, the high recall means that most students needing support can be identified. SHAP analysis confirmed that academic momentum was the strongest predictor, highlighting its importance in student success.
This research offers a practical, interpretable model that is ready for deployment. Its contributions include a unique multi-source dataset, a stakeholder-guided methodology, and an ablation study that quantifies the impact of different feature groups. The ability to identify at-risk students early can significantly improve retention and success rates in critical STEM fields.
Source
More in society
MTN and Microsoft Partner to Upskill Nigerian Teachers in AI-Assisted Education, Targeting Millions of Students
MTN, in partnership with Microsoft, has trained 500 Nigerian teachers in AI-assisted teaching, making them the first in the country to receive such formal training. This…
Kenyan Content Moderators Fight for Rights Against Tech Giants
A key legal battle is unfolding in Kenya as content moderators, including those working on AI platforms like OpenAI, challenge tech giants like Meta over working conditions and…
Nigerian Insurgents Using Commercial AI for Tactical Advantage, Fueled by ISIS Support
New research indicates that Nigerian insurgent groups, including ISWAP and Boko Haram, are actively using commercial AI models for tactical and operational purposes, facilitated…
South African AI Legal Chatbot Reveals Workplace Disputes as Top User Concern
My AI Lawyer, a South African AI legal chatbot, has found that workplace disputes are the most common type of query, revealing a significant need for accessible legal information…
The dispatch
One email a day. The AI stories shaping Africa.
Rewritten for clarity, sourced always. No spam; unsubscribe anytime.



