Skip to content

About

πŸŽ“ Machine Learning project to predict student academic performance using data preprocessing, feature engineering, model training, evaluation, visualization, and an interactive Streamlit dashboard for real-time predictions.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Student Performance Prediction

A Machine Learning project that predicts student academic performance based on demographic, academic, and lifestyle factors. The project includes data preprocessing, feature engineering, model training, evaluation, visualization, and an interactive Streamlit web application for real-time predictions.


πŸ“Œ Features

  • Data preprocessing and cleaning
  • Feature engineering
  • Exploratory Data Analysis (EDA)
  • Data visualization
  • Multiple machine learning models
  • Model evaluation using standard metrics
  • Real-time student performance prediction
  • Interactive Streamlit dashboard
  • Modular and production-ready project structure

πŸ“‚ Project Structure

Student-Performance-Prediction/
β”‚
β”œβ”€β”€ app/
β”‚   └── streamlit_app.py
β”‚
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ raw/
β”‚   β”‚   └── student_performance.csv
β”‚   └── processed/
β”‚
β”œβ”€β”€ models/
β”‚
β”œβ”€β”€ notebooks/
β”‚
β”œβ”€β”€ reports/
β”‚   └── figures/
β”‚
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ preprocessing.py
β”‚   β”œβ”€β”€ feature_engineering.py
β”‚   β”œβ”€β”€ train_model.py
β”‚   β”œβ”€β”€ evaluate_model.py
β”‚   β”œβ”€β”€ predict.py
β”‚   β”œβ”€β”€ visualization.py
β”‚   └── utils.py
β”‚
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ .gitignore
└── README.md

πŸ› οΈ Technologies Used

  • Python
  • Pandas
  • NumPy
  • Scikit-learn
  • Matplotlib
  • Seaborn
  • Joblib
  • Streamlit

πŸ“Š Workflow

  1. Collect student performance dataset.
  2. Clean and preprocess the data.
  3. Perform feature engineering.
  4. Train machine learning models.
  5. Evaluate model performance.
  6. Save the best model.
  7. Launch the Streamlit application.
  8. Predict student performance from user input.

βš™οΈ Installation

Clone the repository

git clone https://github.com/erchandrain-ui/Student-Performance-Prediction.git
cd Student-Performance-Prediction

Create Virtual Environment

Windows

python -m venv venv
venv\Scripts\activate

Linux / macOS

python3 -m venv venv
source venv/bin/activate

Install Dependencies

pip install -r requirements.txt

πŸš€ Run the Project

Train the Model

python src/train_model.py

Evaluate the Model

python src/evaluate_model.py

Launch Streamlit App

streamlit run app/streamlit_app.py

πŸ“ˆ Machine Learning Pipeline

  • Data Loading
  • Data Cleaning
  • Feature Encoding
  • Feature Scaling
  • Train-Test Split
  • Model Training
  • Model Evaluation
  • Prediction
  • Visualization

πŸ“Š Evaluation Metrics

  • Accuracy
  • Precision
  • Recall
  • F1 Score
  • Confusion Matrix
  • Classification Report

πŸ“· Dashboard

The Streamlit dashboard allows users to:

  • Enter student information
  • Predict academic performance
  • View prediction results
  • Explore dataset insights
  • Visualize important features

πŸ“¦ Requirements

  • Python 3.10+
  • Streamlit
  • Scikit-learn
  • Pandas
  • NumPy
  • Matplotlib
  • Seaborn
  • Joblib

Install using:

pip install -r requirements.txt

🀝 Contributing

Contributions are welcome.

  1. Fork the repository
  2. Create a new branch
  3. Commit your changes
  4. Push the branch
  5. Open a Pull Request

πŸ“„ License

This project is released under the MIT License.


πŸ‘¨β€πŸ’» Author

Chand Rain

B.Tech CSE Student

Machine Learning & Data Science Enthusiast


⭐ If you found this project helpful, consider giving it a Star on GitHub.

About

πŸŽ“ Machine Learning project to predict student academic performance using data preprocessing, feature engineering, model training, evaluation, visualization, and an interactive Streamlit dashboard for real-time predictions.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages