IST-Africa 2026 Conference

25 - 29 May 2026

Machine Learning Grade Prediction Using Students' Grades and Demographics

Authors

Mwayi Sonkhanani, Malawi University of Science and Technology, Malawi

Symon Chibaya, Malawi University of Science and Technology, Malawi

Clement Nyirenda, University of the Western Cape, South Africa

Published in

IST-Africa 2026 Conference Proceedings

ISSN: 2576-8581

ISBN: 978-1-905824-76-2

DOI: https://doi.org/tbc

Publisher

IST-Africa Institute and IIMC International Information Management Corporation Ltd

Published in Ireland

Abstract

Student repetition in secondary education imposes significant resource burdens, particularly in resource-constrained contexts. Addressing this challenge, this study introduces a unified machine learning framework that simultaneously predicts pass/fail outcomes and continuous grades - a departure from prior research that treats classification and regression as separate tasks. Six models were evaluated: Logistic Regression, Decision Tree, and Random Forest for classification, and Linear Regression, Decision Tree Regressor, and Random Forest Regressor for regression, with hyperparameters optimized via exhaustive grid search. Using academic and demographic data from 4,424 secondary school students, classification models achieved accuracies of up to 96%, while regression models attained an R² of 0.70, surpassing baseline approaches. These results confirm the feasibility of early, data-driven identification of at-risk students and highlight the value of integrating dual-task prediction for more comprehensive insights. By enabling timely, personalized interventions, the framework offers a practical pathway to reducing grade repetition and optimizing resource allocation.

Keywords

Machine learning, Student performance prediction, Hyperparameters, Demographics, Classification, Regression

Cite this paper

M. Sonkhanani, S. Chibaya and C. Nyirenda (2026) "Machine Learning Grade Prediction Using Students' Grades and Demographics", IST-Africa 2026 Conference Proceedings, Miriam Cunningham and Paul Cunningham (Eds), IST-Africa Institute and IIMC, 2026, ISSN: 2576-8581, ISBN: 978-1-905824-76-2, https://doi.org/tbc

Access Paper

Click here to access this paper.

IST-Africa Community Members can download papers by logging into their existing account.

If you wish to become a member of IST-Africa Community, pleaseregister your profile and you will then receive login details which you can use to access the papers.

Access to papers in the IST-Africa 2026 Conference Proceedings is for INDIVIDUAL USE only. Neither the Conference Proceedings (or individual double blind peer reviewed papers) are to be included in any public or institutional repository or processed in the context of any AI tool or large language model without prior written permission from the Publishers.

While the IST-Africa Institute and IIMC retain copyright of the Conference Proceedings, each author retains copyright to their individual paper. No paper or part thereof may be reproduced without the written permission of both the Conference Proceedings Publishers and appropriate author(s).