Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎓 AI-Based Student Performance Analytics System

A web-based student performance analytics system built with Django and Machine Learning. Predicts pass/fail, academic grade, and dropout risk for each student using Logistic Regression and Decision Tree algorithms.

🚀 Live Demohttps://faraaz.pythonanywhere.com


✨ Features

  • 🔐 Secure session-based admin login
  • 📋 Full CRUD — Add, Edit, Delete student records
  • 🤖 ML Predictions — Pass/Fail, Grade (A/B/C), Dropout Risk
  • 💡 Auto suggestions for low attendance students
  • 📊 Interactive charts — Bar, Pie, Scatter (Chart.js)
  • 🏆 Top 5 performers & weakest students panel
  • 🗄️ SQLite database with Django ORM

🛠️ Tech Stack

Layer Technology
Backend Python 3.x, Django 4.2
Database SQLite 3
Machine Learning scikit-learn, numpy
Frontend HTML5, CSS3, Chart.js

📁 Folder Structure

student_analytics/
├── app/
│   ├── templates/
│   │   ├── login.html
│   │   ├── dashboard.html
│   │   └── add_student.html
│   ├── static/
│   │   └── style.css
│   ├── models.py        # Student DB model
│   ├── views.py         # All view functions
│   ├── urls.py          # URL routing
│   └── ml_model.py      # ML training & predictions
├── student_analytics/
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
├── manage.py
├── seed_data.py         # Load sample students
└── requirements.txt

⚙️ Installation & Setup

1. Clone the repository

git clone https://github.com/FARAAZ-DEV/Ai-based-student-analytics-app.git
cd Ai-based-student-analytics-app

2. Create virtual environment

python -m venv venv
venv\Scripts\activate        # Windows
source venv/bin/activate     # Mac/Linux

3. Install dependencies

pip install -r requirements.txt

4. Run migrations

python manage.py migrate --run-syncdb

5. Load sample data

python seed_data.py

6. Start server

python manage.py runserver

7. Open in browser

http://127.0.0.1:8000

🔑 Login Credentials

Username : admin
Password : admin123

🤖 ML Predictions Logic

Prediction Algorithm Criteria
Pass / Fail Logistic Regression marks + attendance pattern
Grade A/B/C Decision Tree A=80+, B=60-79, C=below 60
Dropout Risk Logistic Regression low marks + low attendance
Suggestion Rule-based attendance < 50%

👨‍💻 Developer

Mohd. Faraz — BCA VI Semester
Feroze Gandhi Institute of Professional Studies


📄 License

This project is open source and available under the MIT License.

About

AI-based student performance analytics system using Django & Scikit-learn. Predicts grades and dropout risks using Logistic Regression and Decision Trees.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages