Skip to content

prerna-m01/StudentExamPerformancePredictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Student Exam Performance Predictor

A Machine Learning web application that predicts a student's Maths score based on demographic and academic input features.

Live Demo

Deployed on Render:

https://studentperformanceprediction-zpwn.onrender.com/

Project Overview

This project uses a Machine Learning Regression model to predict student Maths performance using:

  • Gender
  • Race/Ethnicity
  • Parental Level of Education
  • Lunch Type
  • Test Preparation Course
  • Reading Score
  • Writing Score

The application is built using:

  • Python
  • Flask
  • Scikit-learn
  • CatBoost
  • XGBoost
  • HTML/CSS

Features

  • Student score prediction
  • Interactive web interface
  • ML pipeline integration
  • Model deployment using Flask
  • Hosted on Render
  • End-to-end ML workflow

Tech Stack

Backend

  • Python
  • Flask

Machine Learning

  • Scikit-learn
  • CatBoost
  • XGBoost
  • Pandas
  • NumPy

Frontend

  • HTML

Deployment

  • Render
  • Gunicorn

Project Structure

MLStudentRegression/
│
├── artifacts/
│   ├── model.pkl
│   └── preprocessor.pkl
│
├── notebooks/
│
├── src/
│   ├── components/
│   ├── pipeline/
│   ├── exception.py
│   ├── logger.py
│   └── utils.py
│
├── templates/
│   ├── home.html
│   └── index.html
│
├── app.py
├── requirements.txt
├── setup.py
└── README.md

Installation

Clone the repository

git clone https://github.com/prerna-m01/StudentPerformancePrediction

Navigate to project folder

cd your-repo-name

Create virtual environment

python -m venv venv

Activate virtual environment

Windows

venv\Scripts\activate

Linux/Mac

source venv/bin/activate

Install Dependencies

pip install -r requirements.txt

Run the Application

python app.py

Open in browser:

http://127.0.0.1:5000

Deployment on Render

Build Command

pip install -r requirements.txt

Start Command

gunicorn app:app

ML Workflow

  1. Data Ingestion
  2. Data Preprocessing
  3. Model Training
  4. Model Evaluation
  5. Prediction Pipeline
  6. Flask Deployment

Screenshots

Home Page

Home Page

Prediction Page

Prediction Page


Author

Prerna Mishra


About

A Machine Learning web application that predicts a student's Maths score based on demographic and academic input features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors