Back to selected workAI & Machine Learning

Student Performance & Risk Prediction System

ML-powered Python desktop application for academic performance forecasting, risk scoring & attendance analytics

A layered Python desktop application built with CustomTkinter, Scikit-Learn, and SQLite that predicts student performance categories (94% accuracy) and risk levels (97% accuracy), computes a deterministic 0–100 risk score with actionable recommendations, tracks subject-wise & daily attendance, and exports ReportLab PDF reports.

Application Screenshots

Admin Dashboard Overview
Admin Dashboard Overview
Student Academic Profile
Student Academic Profile
ML Performance & Risk Prediction
ML Performance & Risk Prediction
Matplotlib Analytics Dashboard
Matplotlib Analytics Dashboard
Subject-Wise & Daily Attendance
Subject-Wise & Daily Attendance
Student Perspective Dashboard
Student Perspective Dashboard
CATEGORY / TYPEAI & Machine Learning
TECH STACK
Python 3.11Scikit-LearnCustomTkinterEXEPyInstallerSQLSQLitePandasMatplotlibReportLab
ARTIFACT / DISTRIBUTIONWindows Standalone Executable (.exe · 120.5 MB)
The Problem

Educators often discover academic struggles only after final examinations, lacking a unified system that combines predictive machine learning, transparent risk factor analysis, attendance tracking, and printable reporting.

The Solution

Developed a layered desktop application using Python 3.11, CustomTkinter, SQLite, and Scikit-Learn. Logistic Regression pipelines (selected over Decision Tree and Random Forest) achieve 94% accuracy on performance category and 97% accuracy on risk level, paired with a deterministic 0–100 rule-based risk engine, recommendation engine, Matplotlib analytics, and ReportLab PDF export.

Architecture & Workflow Pipeline
11. Presentation Layer (CustomTkinter): Role-based login, Admin/Teacher & Student dashboards, section-wise student management, and attendance views
22. Service Layer: Prediction, Analytics, Attendance, Student, DataQuality, and ReportLab PDF Report services
33. ML Pipeline (Scikit-Learn + Joblib): Preprocessing, encoding, 80/20 train/test split, and persisted Logistic Regression models
44. Rule-Based Risk & Recommendation Engine: Continuous 0–100 risk scoring across 7 academic factors with prioritized interventions
55. Persistence Layer (SQLite): Relational schema storing student profiles, section mappings, subject-wise/daily attendance, and predictions
Key Features & Highlights
Machine Learning predictions for performance category (94% accuracy) and risk level (97% accuracy)
Deterministic 0–100 rule-based risk score with 7-factor breakdown and prioritized recommendations
Role-based access control separating Admin/Teacher management from Student dashboards
Section-wise student management, subject-wise & daily attendance tracking with percentage calculation
Interactive Matplotlib analytics dashboards for risk, performance, attendance, and backlog distributions
One-click ReportLab PDF academic performance & risk report generation
Challenges Overcome
  • •Preventing data leakage between ML target labels and deterministic rule-based risk scoring.
  • •Keeping the CustomTkinter desktop UI responsive while rendering embedded Matplotlib charts and generating PDF reports.
Verified Outcomes & Impact
  • ✓Delivered a complete Industrial Training Project with verified ML models (94% performance, 97% risk accuracy), automated attendance tracking, and PDF reporting.
  • ✓Published full source code, documentation, and showcase assets on GitHub.