MARATTO

article · Scientific Reports

Explainable and imbalance-aware holistic swarm optimization for joint feature selection and random forest learning in educational analytics

Abstract

Accurately predicting students’ academic performance is a crucial component of educational analytics because it enables early detection and informed decision-making. However, existing machine learning methods are sensitive to class imbalance, have poor interpretability, and often rely on fixed feature representations. This paper proposes an imbalance-aware and explicable solution to these issues. An integrated framework of Holistic Swarm Optimization and Random Forest algorithms (HSORFC-FS) is presented to simultaneously optimize model hyperparameters and perform embedded feature selection inside a unified swarm-based search process. Unlike traditional optimization strategies that only focus on accuracy, the proposed framework includes a class-imbalance-aware fitness function that clearly promotes a balanced trade-off between minority-class recognition and overall classification performance. Furthermore, SHapley Additive exPlanations (SHAP) is integrated to provide a global and class-wise understanding of the factors influencing academic performance. HSORFC-FS is evaluated using a real-world student academic performance dataset consisting of 1,194 records in four performance categories: poor, good, very good, and excellent. With a classification accuracy of 80.0% and a weighted F1-score of 0.80, experimental results show that HSORFC-FS performs better than standard Random Forest, bagging, artificial neural networks, k-nearest neighbors, logistic regression, and Naïve Bayes models. The HSORFC-FS framework yields 0.62 for the minority (poor) class F1-score. The proposed framework achieves competitive performance in minority-class recognition while maintaining strong overall classification accuracy and balanced performance across all classes. SHAP analysis states that the most important factors are previous academic performance, attendance rate, and study habits. This explanation helps educational stakeholders to make suitable decisions based on data understanding. In summary, the proposed framework proved that the accuracy, equity, and transparency of academic performance prediction models are enhanced by combining explainable artificial intelligence, imbalance-aware learning, and holistic swarm intelligence.

Research topics

  • Imbalanced Data Classification Techniques
  • Explainable Artificial Intelligence (XAI)
  • Online Learning and Analytics

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.1038/s41598-026-68333-9

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.