Skip to content

faridkhan5/student_score_prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d07f430 · Jan 27, 2025

History

28 Commits
Jul 5, 2023
Jul 3, 2023
Jul 4, 2023
Jul 3, 2023
Jul 5, 2023
Jul 4, 2023
Jul 4, 2023
Jun 28, 2023
Jan 27, 2025
Jul 5, 2023
Jul 5, 2023
Jun 25, 2023
Jan 26, 2025

Repository files navigation

Student Score Prediction Project

About

This repository contains a project aimed at predicting students' average scores based on various demographic, socioeconomic, and performance-related features. The project includes exploratory data analysis (EDA), preprocessing, model training and evaluation, and a Flask-based web application for making predictions.

student_score_website_img

Features

  1. Exploratory Data Analysis (EDA):

    • Analyzed trends using histograms and KDE plots.
    • Key insight: Female students tend to perform better than male students.
  2. Data Preprocessing:

    • Checked for missing and duplicate values (none found).
    • Created new features:
      • total_score: Sum of scores in math, reading, and writing.
      • average_score: Average of the three subject scores.
    • Applied:
      • One-hot encoding for categorical features.
      • Standard scaling for numerical features using ColumnTransformer.
  3. Model Training:

    • Used multiple regression models, including:
      • Linear Regression, Lasso, Ridge, KNN, Decision Tree, Random Forest, XGBoost, CatBoost, and AdaBoost.
    • Evaluated models using metrics such as RMSE, MAE, and R².
    • Saved the best-performing model for deployment.
  4. Web Application:

    • Built using Flask, providing an interactive interface for users to input data and predict student scores.
  5. Modular Development:

    • The project is structured in a modular manner to ensure scalability and maintainability:
      • src/pipeline: Contains utility scripts for exception handling, logging, and general functions.
      • src/components: Houses components for Data Ingestion, Data Transformation, and Model Training.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published