Skip to content

Repository files navigation

🎓 Student Result Prediction System

Python Streamlit Machine Learning License

🚀 Live Demo

🔗 Try Web-Application Here

https://studentresultpredictionsystem.streamlit.app/

📖 Overview

The Student Result Prediction System is a Machine Learning web application built using Python and Streamlit.

The application predicts whether a student is likely to PASS or FAIL based on academic and lifestyle factors using a trained Logistic Regression model.

It also provides:

  • 📊 Interactive Data Analysis Dashboard
  • 📈 Model Performance Metrics
  • 🤖 AI-Based Recommendations
  • 📄 Downloadable PDF Prediction Report
  • 🎨 Professional Streamlit User Interface

✨ Features

  • 🎓 Student PASS / FAIL Prediction
  • 🤖 AI Recommendations
  • 📈 Prediction Confidence Score
  • ⭐ Student Performance Category
  • 📄 Download Prediction Report (PDF)
  • 📊 Interactive Data Visualization
  • 🏆 Top 10 Students Leaderboard
  • 📉 Model Performance Dashboard
  • 🎨 Modern Responsive UI
  • 🌙 Dark / Light Theme Support

🛠 Tech Stack

Technology Purpose
Python Programming Language
Streamlit Web Application Framework
Scikit-Learn Machine Learning
Pandas Data Processing
NumPy Numerical Computing
Matplotlib Data Visualization
Seaborn Statistical Charts
ReportLab PDF Report Generation

🧠 Machine Learning Model

Algorithm Used

  • Logistic Regression

Problem Type

  • Binary Classification

Target

  • PASS
  • FAIL

📂 Dataset

The project uses a synthetic dataset consisting of 500 student records.

Input Features

  • 📚 Study Hours
  • 🏫 Attendance Percentage
  • 📝 Previous Exam Marks
  • 📋 Assignments Completed
  • 😴 Sleep Hours

Output

  • ✅ PASS
  • ❌ FAIL

📸 Application Screens

Prediction Dashboard

  • Student Input Form
  • PASS / FAIL Prediction
  • Confidence Score
  • AI Recommendations
  • PDF Report Download

Data Analysis

  • Study Hours vs Marks
  • Attendance vs Marks
  • Pass / Fail Distribution
  • Marks Distribution
  • Top Students Leaderboard

Model Performance

  • Accuracy
  • Precision
  • Recall
  • F1 Score
  • Confusion Matrix
  • Feature Importance

📈 Model Performance

The trained Logistic Regression model achieves approximately:

Metric Value
Accuracy ~90%
Precision ~90%
Recall ~92%
F1 Score ~91%

🚀 Installation

Clone the repository

git clone https://github.com/A-Navaneetha/Student_Result_Prediction_System.git

Go to the project directory

cd Student_Result_Prediction_System

Install dependencies

pip install -r requirements.txt

Run the application

streamlit run Student_Result_Predicton.py

📁 Project Structure

Student_Result_Prediction_System/
│
├── Student_Result_Predicton.py
├── requirements.txt
└── README.md

🌐 Deployment

  • This Project Student Result Prediction System Web Application is deployed using Streamlit App.

👉 https://studentresultpredictionsystem.streamlit.app/

🎯 Future Enhancements

  • Real Student Database Integration
  • Random Forest & XGBoost Models
  • Student Login System
  • Teacher/Admin Dashboard
  • Email Notifications
  • Cloud Database Support
  • Performance Trend Analysis
  • Student History Tracking

💡 Learning Outcomes

This project demonstrates:

  • Machine Learning Workflow
  • Data Preprocessing
  • Logistic Regression
  • Model Evaluation
  • Data Visualization
  • Streamlit Development
  • PDF Report Generation
  • Interactive Dashboard Design

📜 License

This project is licensed under the MIT License.

👨‍💻 Developer

A. Navaneetha