A comprehensive machine learning-based web application for predicting student dropout risks using advanced analytics and interactive visualizations.
This system employs multiple machine learning algorithms including Random Forest, Logistic Regression, Decision Tree, and Support Vector Machine (SVM) to analyze student data and predict dropout risks with 89.1% accuracy.
https://colab.research.google.com/drive/1PoGYLYx9gT8udFefkZsjwhmvkM27LKvx?usp=sharing
- Multi-role Login: Admin, Teacher, Counselor access levels
- Session Management: Remember me functionality
- Secure Access: Protected dashboard routes
- Real-time Analytics: Live updating statistics and metrics
- Dynamic Charts: 4 interactive visualizations using Chart.js
- Responsive Design: Works on desktop, tablet, and mobile devices
- Modern UI: Glass morphism design with smooth animations
- Multi-algorithm Analysis: 4 ML models comparison
- Real-time Prediction: Instant risk assessment for new students
- Feature Importance: Visual representation of key risk factors
- Confidence Scoring: Prediction reliability indicators
- Risk Distribution: Doughnut chart showing student risk levels
- Performance Analysis: Scatter plot of academic performance vs attendance
- Attendance Impact: Bar chart showing dropout rates by attendance ranges
- Model Comparison: Performance comparison of all ML algorithms
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Charts: Chart.js for interactive visualizations
- Animations: AOS (Animate On Scroll) library
- Icons: Font Awesome 6
- Storage: LocalStorage & SessionStorage for user data
- Design: CSS Grid, Flexbox, Glass Morphism effects
student-dropout-system/
β
βββ index.html # Login page
βββ dashboard.html # Main dashboard
βββ README.md # Project documentation
β
βββ css/
β βββ login.css # Login page styles
β βββ dashboard.css # Dashboard styles
β
βββ js/
β βββ login.js # Login functionality
β βββ dashboard.js # Dashboard functionality
β
βββ assets/
βββ screenshots/ # Project screenshots
# Clone or download the project files
# Extract to your desired directory# Simply open index.html in any modern web browser
# Or use a local server for better performance- Administrator:
admin/admin123 - Teacher:
teacher/teacher123 - Counselor:
counselor/counselor123
- Open
index.htmlin your browser - Select user role from dropdown
- Enter credentials (or click demo credentials to auto-fill)
- Click "Login to Dashboard"
- View Statistics: Real-time student analytics
- Analyze Charts: Interactive data visualizations
- Predict Risk: Use the prediction form for new students
- Export Data: Ctrl+E to download system data
- View Recommendations: System-generated intervention strategies
| Model | Accuracy | Precision | Recall | F1-Score |
|---|---|---|---|---|
| Random Forest | 89.1% | 87.5% | 88.3% | 87.9% |
| Logistic Regression | 86.7% | 85.2% | 87.1% | 86.1% |
| Support Vector Machine | 84.5% | 83.2% | 84.1% | 83.6% |
| Decision Tree | 83.4% | 81.8% | 82.5% | 82.1% |
- Overall Percentage (15.6% importance)
- Attendance Rate (13.4% importance)
- Mathematics Score (9.8% importance)
- Study Hours per Day (8.7% importance)
- Family Support (7.6% importance)
- Ctrl + P: Predict dropout risk
- Ctrl + E: Export system data
- Ctrl + L: Logout
- Enter: Submit forms
- Escape: Clear login form
- Gradient Backgrounds: Purple to blue gradients
- Glass Morphism: Frosted glass effects with backdrop blur
- Smooth Animations: Hover effects and transitions
- Responsive Layout: Adapts to all screen sizes
- Modern Typography: Clean, readable fonts
- Hover Effects: Dynamic color changes and shadows
- Loading Animations: Spinner animations during processing
- Form Validation: Real-time input validation with visual feedback
- Notification System: Toast notifications for user feedback
- β Chrome 80+
- β Firefox 75+
- β Safari 13+
- β Edge 80+
- β Mobile browsers (iOS Safari, Chrome Mobile)
Edit the users object in js/login.js:
const users = {
'newuser': {
password: 'newpassword',
role: 'teacher',
name: 'New User Name'
}
};Update the predictDropout() function in js/dashboard.js to adjust risk calculation weights and factors.
- Modify
css/login.cssfor login page styling - Modify
css/dashboard.cssfor dashboard styling - Update CSS variables for color scheme changes
- Academic Support: Implement tutoring for students scoring <60%
- Attendance Monitoring: Set alerts for attendance <70%
- Family Engagement: Develop parent involvement programs
- Health Services: Ensure access to healthcare and nutrition
- Regular Assessment: Monthly risk evaluations using the system
- Database Integration: Connect to school management systems
- Mobile App: Develop native mobile applications
- API Development: Create REST APIs for data integration
- Advanced ML: Implement deep learning models
- Real-time Data: Connect to live student information feeds
- Charts not loading: Ensure internet connection for CDN resources
- Login not working: Check browser console for JavaScript errors
- Responsive issues: Clear browser cache and refresh
- Performance slow: Use local server instead of file:// protocol
// Clear stored user data
localStorage.clear();
sessionStorage.clear();
// Check current user
console.log(JSON.parse(localStorage.getItem('loggedInUser')));
// Export dashboard data
exportData();This project is developed for academic purposes as part of the Master of Computer Applications program at RV College of Engineering.
- RV College of Engineering for providing the platform
- Faculty Guide Prof. Saravanan C for guidance and support
- Chart.js for excellent charting library
- Font Awesome for comprehensive icon library
- AOS Library for smooth scroll animations
- Modern glass morphism design
- Multi-role authentication
- Demo credentials for easy testing
- Real-time statistics display
- Interactive chart visualizations
- Responsive grid layout
- User-friendly form inputs
- Instant risk assessment
- Actionable recommendations
π Built with passion for educational excellence and student success! π