Watch Demo Video
Machine Learning
Student Academic Performance Prediction Using Machine Learning
The Student Academic Performance Prediction Using Machine Learning system is a comprehensive machine learning solution that predicts student pass/fail outcomes based on demographic and academic indicators. This project is ideal for B.Tech, MCA, CSE, and engineering students as their final year project. It uses advanced algorithms like XGBoost and Random Forest to achieve 89.5% accuracy.
The system leverages features including gender, race/ethnicity, parental education, lunch type, test preparation course, and scores in math, reading, and writing. It provides interactive visualizations, feature importance analysis, model comparison, and real-time student performance prediction to help educators identify at-risk students early.
Python 3.8+
Machine Learning
XGBoost
Random Forest
Scikit-learn
Pandas
NumPy
Matplotlib
Seaborn
Flask
HTML/CSS/JS
Key Features:
- Binary Pass/Fail Prediction
- XGBoost (89.5% Accuracy)
- Random Forest (87.5% Accuracy)
- 3-Way Data Split (Train/Val/Test)
- Feature Importance Analysis
- Real-time Performance Prediction
- Model Performance Comparison
- Interactive Visualizations
- 5-Fold Cross-Validation
- Flask Web Application
Algorithms Used
⚡ XGBoost Classifier
Optimized gradient boosting with regularization, handles class imbalance effectively
🎯 Accuracy: 89.5%
🌲 Random Forest Classifier
Ensemble learning with 50 trees, provides feature importance analysis
🎯 Accuracy: 87.5%
📊 Feature Engineering
Total score calculation, pass/fail labeling, categorical encoding
📊 Features: 8
🔍 5-Fold CV
Cross-validation for model stability and generalization
📊 XGB: 89.40% ± 0.58%
Methodology & Workflow
1
Data Loading & Inspection
Students Performance dataset with 1,000 records
2
Data Preprocessing
Cleaning, encoding, feature scaling, 3-way split (65/15/20)
3
Feature Engineering
Total Score calculation, Pass/Fail labeling
4
Model Training
XGBoost & Random Forest with regularization
5
Model Evaluation
Accuracy, Precision, Recall, F1-Score, 5-fold CV
6
Web Deployment
Flask web app for real-time performance prediction
Model Performance Comparison
| Metric |
XGBoost |
Random Forest |
Best |
| Accuracy |
0.895 |
0.875 |
XGBoost |
| Precision |
0.895 |
0.874 |
XGBoost |
| Recall |
0.895 |
0.875 |
XGBoost |
| F1-Score |
0.893 |
0.875 |
XGBoost |
| CV Mean (5-Fold) |
0.894 |
0.872 |
XGBoost |
| CV Std Dev |
0.0058 |
0.0039 |
XGBoost |
Project Package Includes:
Complete Source Code
Documentation (50+ pages)
Video Tutorial
Dataset (1,000 records)
Flask Web App
Model Files (Pickle)
Visualizations (21+ plots)
24/7 Expert Support