This repository presents a Machine Learning study for predicting student failure in first-semester Mathematics as an early indicator of school dropout risk.
The project applies data preprocessing, class balancing (SMOTE), feature selection and supervised learning algorithms to identify students at higher academic risk, supporting evidence-based educational decision-making.
This repository documents a peer-reviewed scientific publication published in Research, Society and Development (2025).
- Overview
- Problem
- Objectives
- Dataset
- Machine Learning Pipeline
- Technologies
- Machine Learning Models
- Results
- Repository Contents
- Data Availability
- Scientific Publication
- Citation
- Author
- License
School dropout remains one of the major challenges faced by educational institutions.
Previous studies indicate that poor academic performance during the first semester is one of the strongest indicators associated with future dropout.
This work investigates whether Machine Learning techniques can identify students at higher academic risk and support early pedagogical interventions.
- Predict student failure in first-semester Mathematics.
- Support early educational interventions.
- Compare supervised Machine Learning algorithms.
- Evaluate predictive performance using statistical metrics.
- Demonstrate the application of Educational Data Mining techniques.
The study uses anonymized academic records from the Federal Institute of Education, Science and Technology of Ceará (IFCE).
- 468 student records
- Six technical education programs
- Admission years: 2018–2020
- Anonymous educational data
- Binary classification
Target classes:
- ✅ Pass
- ❌ Fail
The methodology consists of:
- Data Collection
- Data Cleaning
- Exploratory Data Analysis (EDA)
- Feature Engineering
- One-Hot Encoding
- Class Balancing (SMOTE)
- Feature Selection (SelectKBest)
- Model Training
- Cross Validation
- Model Evaluation
- Python
- Pandas
- NumPy
- Scikit-learn
- Imbalanced-learn (SMOTE)
- Matplotlib
- Jupyter Notebook
The following supervised learning algorithms were evaluated:
- Logistic Regression
- Gaussian Naive Bayes
Performance was evaluated using:
- Accuracy
- Precision
- Recall
- F1-score
- ROC-AUC
- Cross Validation
The best-performing model was Logistic Regression.
| Metric | Value |
|---|---|
| Accuracy | 0.73 |
| ROC-AUC | 0.77 |
| Cross Validation | 0.68 |
The results demonstrate the potential of Machine Learning to support the early identification of students at risk of academic failure.
machine-learning-school-dropout/
├── images/
│ └── banner-project.jpeg
│
├── paper/
│ ├── article.pdf
│ └── project-case-study.pdf
│
├── README.md
├── LICENSE
└── .gitignore
The original dataset and the complete implementation notebook are not publicly available because they contain institutional academic records subject to privacy, ethical and institutional restrictions.
This repository provides:
- Project documentation
- Methodological overview
- Published scientific article
- Project case study
- Main experimental results
Researchers interested in additional information are welcome to contact the corresponding author.
This repository is based on the following peer-reviewed publication:
Machine Learning: An Application for School Dropout Prevention
Research, Society and Development
Volume 14, Issue 6 (2025)
DOI:
https://doi.org/10.33448/rsd-v14i6.49029
📄 Published Article
📘 Project Case Study
Open the project documentation
@article{Pereira2025,
title={Machine Learning: An Application for School Dropout Prevention},
author={Pereira, Valberto Rômulo Feitosa and collaborators},
journal={Research, Society and Development},
volume={14},
number={6},
year={2025},
doi={10.33448/rsd-v14i6.49029}
}Data Scientist | Applied Statistics | Machine Learning | Educational Analytics
Professor and Researcher at the Federal Institute of Education, Science and Technology of Ceará (IFCE).
- GitHub: https://github.com/ValbertoFeitosa
- LinkedIn: https://www.linkedin.com/in/valberto-feitosa-7239511b1/
This project is distributed under the MIT License.
