Machine Learning Grade Prediction Using Students' Grades and Demographics

Mwayi Sonkhanani, Symon Chibaya, Clement N. Nyirenda
2/28/2026
cs.AI

No confident code implementation found for this paper. 5 possible matches can be shown below.

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 4424 secondary school students, classification models achieved accuracies of up to 96%, while regression models attained a coefficient of determination 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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sonkhanani2026machine,
  title  = {Machine Learning Grade Prediction Using Students' Grades and Demographics},
  author = {Mwayi Sonkhanani and Symon Chibaya and Clement N. Nyirenda},
  year   = {2026},
  eprint = {2603.00608},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.00608v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.00608.svg)](https://codeofpaper.com/paper/2603.00608)

Discussion