cs.AIFeb 28, 2026

Machine Learning Grade Prediction Using Students' Grades and Demographics

Authors: Mwayi Sonkhanani, Symon Chibaya, Clement N. Nyirenda

Organizations: Malawi University of Science and Technology, P.O.Box 5196, Limbe, Malawi

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.

Explore similar work

CardsList
  1. Analysis and Prediction of At-Risk Students Using Machine Learning Algorithms

    May 24, 2026Soheila Gheisari, Hamid SalarianAI in EducationEducational Data Mining

  2. Jointly Predicting Courses and Grades Using a Transformer-Based Model

    Aug 13, 2026Paul SavalaMulti-Task LearningEducational Data Mining

  3. A Hybrid AI Framework for Academic Advising: Integrating Ensemble-Based Grade Prediction and a Rule-Based Expert System

    Aug 12, 2026Hamid Saadatfar, Rohollah Hedayati-Nasab, AmirHossein Eshghi +1Educational TechnologyEducational Data Mining