An advanced, full-stack predictive analytics and academic management platform built using the MERN Stack and Python Machine Learning models.
The platform enables educational institutions to proactively identify students at risk of academic failure or dropout, forecast future academic performance, and automate critical administrative workflows such as attendance tracking, internal marks management, and performance monitoring.
- π Student Failure Risk Prediction
- π― Dropout Risk Assessment
- π Next Semester CGPA Forecasting
- π¨βπ Student Performance Analytics Dashboard
- π Automated Attendance Management
- π Internal Marks Distribution & Tracking
- π Role-Based Access Control (Student, Faculty, Admin)
- π§ Automated Email Notifications
- π Excel-Based Data Import & Processing
- π€ Machine Learning Powered Academic Intelligence
- π Historical Prediction Logging & Analysis
| Technology | Purpose |
|---|---|
| React.js (Vite) | User Interface |
| Tailwind CSS | Styling |
| React Router DOM | Routing |
| React Context API | State Management |
| Axios | API Communication |
| Technology | Purpose |
|---|---|
| Node.js | Runtime Environment |
| Express.js | REST API Framework |
| MongoDB | Database |
| Mongoose ODM | Database Modeling |
| JWT | Authentication |
| Bcrypt.js | Password Hashing |
| Node-cron | Scheduled Tasks |
| Multer | File Uploads |
| ExcelJS | Spreadsheet Processing |
| Nodemailer | Email Services |
| Technology | Purpose |
|---|---|
| Python 3.13 | ML Runtime |
| Scikit-Learn | Model Training |
| Pandas | Data Processing |
| NumPy | Numerical Computation |
| python-shell | Node β Python Communication |
| Pickle (.pkl) | Model Serialization |
The Smart AI Academic Intelligence System follows a Decoupled ClientβServerβMachine Learning Architecture.
The React frontend communicates with the Express.js backend through REST APIs. The backend handles authentication, authorization, business logic, database operations, and ML orchestration. Predictive analytics tasks are delegated to Python-based ML services through the python-shell bridge.
[ User / Client Browser ]
β β²
HTTPS Requests β β JSON Responses
βΌ β
[ Express.js Server ]
β β²
Mongoose Queries / β β Data Payload
Document Mapping βΌ β
[ MongoDB Database ]
β
βββββββββββββββββββββββ΄ββββββββββββββββββββββ
β β
βΌ βΌ
[ python-shell Bridge ] [ Training Pipeline ]
β β
βΌ βΌ
[ predict_dropout.py ] [ train_dropout_model.py ]
β β
ββββββββββββββΊ [ Model Artifacts (.pkl) ] βββ
- JWT-based authentication
- Route-level authentication middleware
- Role-based authorization
- Student, Faculty, and Admin access levels
- Attendance recording
- Internal marks management
- Student profile tracking
- Department-level analytics
- User requests prediction.
- Express API receives request.
- Prediction controller triggers Python service.
- Python loads trained
.pklmodels. - Prediction is generated.
- Result is returned as JSON.
- MongoDB stores prediction history.
- Dashboard displays analytical insights.
{
name: String,
email: String,
password: String,
role: ["student", "faculty", "admin"],
createdAt: Date
}{
user: ObjectId,
rollNumber: String,
department: ObjectId,
semester: Number,
cgpa: Number,
attendancePercentage: Number,
academicStatus: ["Active", "At Risk", "Critical"]
}{
user: ObjectId,
employeeId: String,
department: ObjectId,
subjectsTaught: [ObjectId]
}{
student: ObjectId,
subject: ObjectId,
date: Date,
status: ["Present", "Absent"],
recordedBy: ObjectId
}{
student: ObjectId,
subject: ObjectId,
examType: ["Internal-1", "Internal-2", "End-Semester"],
marksObtained: Number,
maxMarks: Number
}{
student: ObjectId,
dropoutRiskProbability: Number,
predictedNextCgpa: Number,
keyRiskFactors: [String],
generatedAt: Date
}Responsible for:
- Data preprocessing
- Feature engineering
- Dataset balancing
- Model training
- Model serialization
Outputs:
smart_ai_dropout_risk_model.pklsmart_ai_performance_model.pkl
Responsible for:
- Loading trained models
- Processing live student metrics
- Generating dropout probability
- Forecasting future CGPA
- Returning structured JSON results
- Node.js v18+
- MongoDB
- Python 3.10 β 3.13
git clone <repository-url>
cd Smart-AI-Academic-Intelligence-Systemcd backend
npm installCreate .env
PORT=5000
MONGODB_URI=mongodb://localhost:27017/smart_academic_db
JWT_SECRET=YOUR_SECRET_KEY
EMAIL_USER=your-email@domain.com
EMAIL_PASS=your-app-passwordpip install -r ml/requirements.txtnode seed.js
npm run train:modelnpm run devcd ../frontend
npm installCreate .env
VITE_API_URL=http://localhost:5000/apiStart Frontend
npm run dev- Deep Learning Models
- Student Recommendation Engine
- Parent Notification Portal
- LMS Integration
- Real-Time Risk Monitoring
- AI Academic Assistant
This project is developed for educational, research, and institutional management purposes.