Programming courses in computer science curricula often present significant abstraction challenges for first-year undergraduate students, frequently leading to high failure rates and early dropouts. The use of conventional oversampling risks triggering data leakage and overfitting. This study proposes an EDM framework that integrates the Imbalanced-Learn Pipeline (SMOTE), a regularized Random Forest, and Leave-One-Out Cross-Validation (LOOCV) on 27 real student track records in the Algorithm and Programming course. All experimental scenarios were computationally executed using the Google Colaboratory cloud platform. To prevent data leakage, SMOTE was embedded exclusively within the training fold of each LOOCV iteration. Tree depth restriction (max_depth=2) was applied to prevent excessive pattern memorization. The test results demonstrated realistic performance with an overall accuracy of 85.19%, precision of 66.67% (for the target minority/failing class), and recall of 85.71% [1]. The model successfully identified 4 misclassification cases (1 False Positive and 3 False Negatives) attributable to academic anomalies rather than overfitting. Quiz Average (X2) and Structured Practicum Score (X3) were identified as the primary graduation predictors, contributing 29.3% and 28.9% respectively. This methodological combination effectively and scientifically overcomes the Cold-Start Problem and is free from overfitting for early warning system architectures.
Copyrights © 2026