A Production-Grade End-to-End Machine Learning System for Educational Analytics.
Student Performance Predictor AI is not just another data science scriptβit's a full-stack, production-ready AI application engineered to provide actionable insights into student performance.
Built to bridge the gap between heavy machine learning models and intuitive user interfaces, this system processes over 20,000+ student records to identify the key drivers of academic success. Whether you are an educator, a student, or a developer, this platform offers a robust environment to explore educational data.
- π§ Advanced Predictive Engine: Powered by a finely-tuned Linear Regression model achieving 73% RΒ² Accuracy.
- β‘ High-Performance API: Built with FastAPI for sub-millisecond inference latency.
- π¨ Modern Dashboard: A stunning, responsive Dark Mode UI crafted with Next.js 14 and Tailwind CSS.
- π Explainable AI (XAI): Understand why a prediction was made with detailed feature contribution breakdowns.
- π³ Containerized & Portable: Fully Dockerized for "write once, run anywhere" deployment.
The system follows a modern microservices architecture:
graph TD
User[π€ User] -->|HTTPS| Client[π» Next.js Frontend]
Client -->|JSON| API[β‘ FastAPI Backend]
API -->|Inference| Model["π§ ML Model (Scikit-Learn)"]
API -->|Process| Pipeline[βοΈ Data Pipeline]
Pipeline -->|Train/Test| Data[(π Student Data)]
- Python 3.10: Core language.
- Scikit-Learn: Model training and evaluation.
- Pandas & NumPy: High-performance data manipulation.
- Joblib: Model serialization.
- FastAPI: Asynchronous web framework.
- Uvicorn: ASGI server.
- Pydantic: Data validation and settings management.
- Next.js 14: React framework for production.
- Recharts: Composable charting library.
- CSS Modules: Scoped styling.
- Docker: Containerization.
- Docker Compose: Multi-container orchestration.
- Git
- Docker Desktop (Recommended)
- Node.js 18+ & Python 3.10+ (For manual setup)
The easiest way to run the entire stack is via Docker.
-
Clone the repository
git clone https://github.com/anish-devgit/student-performance-predictor-ai.git cd student-performance-predictor-ai -
Start the application
docker-compose up --build
-
Access the Application
- Frontend Dashboard: http://localhost:3000
- Backend API Documentation: http://localhost:8000/docs
Click to verify manual installation steps
cd app/backend
pip install -r ../../requirements.txt
uvicorn main:app --reloadcd app/frontend
npm install
npm run dev- Initial ML Model Training & Evaluation
- FastAPI Backend Implementation
- Next.js Frontend Dashboard
- Advanced Models: Integrate Random Forest & XGBoost for higher accuracy.
- User Auth: Add authentication for personalized student tracking.
- PDF Reports: Auto-generate performance analysis reports.
- Mobile App: React Native mobile counterpart.
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Please view our Contributing Guidelines for more details.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Thanks to all the people who contribute!