Skip to content

ShalinVachheta017/Student-Performance-Prediction

Repository files navigation

Student Performance Prediction

Overview

This project leverages machine learning techniques to predict student performance based on various features such as gender, parental education level, and test preparation courses. The goal is to provide educators and stakeholders with insights to identify students who may need additional support.

Features

  • Data Preprocessing: Handling missing values, encoding categorical variables, and scaling features.
  • Model Training: Implementing algorithms like Linear Regression, Decision Trees, and XGBoost.
  • Web Application: A user-friendly Flask-based web app for real-time predictions.
  • Containerization: Dockerized application for consistent deployment across environments.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/ShalinVachheta017/Student-Performance-Prediction.git
    cd Student-Performance-Prediction
  2. Build the Docker image:

    docker build -t student-performance-app .
  3. Run the Docker container:

    docker run -p 5000:5000 student-performance-app
  4. Access the web application: Open your browser and navigate to http://localhost:5000/.

Usage

Project Structure

Student-Performance-Prediction/
│
├── src/
│   ├── pipeline/
│   │   ├── predict_pipeline.py
│   │   └── train_pipeline.py
│   ├── __init__.py
│   └── ...
│
├── templates/
│   ├── index.html
│   └── home.html
│
├── application.py
├── Dockerfile
├── requirements.txt
└── README.md
  • src/: Contains the core machine learning pipelines.
  • templates/: HTML templates for the Flask web application.
  • application.py: Main Flask application file.
  • Dockerfile: Instructions to build the Docker image.
  • requirements.txt: Python dependencies.

Dockerization

The application is containerized using Docker to ensure consistency across different environments. This approach simplifies deployment and scaling.

Building the Docker Image:

docker build -t student-performance-app .

Running the Docker Container:

docker run -p 5000:5000 student-performance-app

These commands will set up the application in a Docker container, exposing it on port 5000.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages