GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - roshankodi/car-price-prediction: Machine Learning-powered car price prediction web app built with Flask, Scikit-learn, and feature engineering for real-time resale price estimation.

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
artifacts
artifacts
 
 
assets
assets
 
 
templates
templates
 
 
.gitignore
.gitignore
 
 
CONFIG.py
CONFIG.py
 
 
main.py
main.py
 
 
readme.md
readme.md
 
 
requirements.txt
requirements.txt
 
 
vercel.json
vercel.json
 
 

Repository files navigation

šŸš— Car Price Prediction System

An end-to-end Machine Learning web application that predicts the resale price of a car based on important vehicle features such as year, kilometers driven, fuel type, transmission, seller type, and ownership history.

This project combines a trained ML model with a Flask backend and a responsive front-end interface to deliver real-time price predictions.


🌐 Live Demo

Deployed App:
https://car-price-prediction-vert.vercel.app/


Project Preview

Application

Feature Importance

Feature Importance

Prediction Performance

Prediction Performance


✨ Features

  • Machine learning-based car price prediction
  • Clean and responsive UI
  • Real-time prediction output
  • Feature engineering for better performance
  • Input validation and error handling
  • Flask backend integration
  • Deployed on Vercel
  • Supports both web form and model inference

🧠 Machine Learning Workflow

Data Processing

  • Data cleaning
  • Missing value handling
  • Label encoding
  • Feature selection

Feature Engineering

The following engineered features were added to improve model performance:

  • Car Age
  • Kilometers Per Year

These help improve prediction quality.


šŸ› ļø Tech Stack

Frontend

  • HTML5
  • CSS3
  • Bootstrap

Backend

  • Python
  • Flask

Machine Learning

  • Pandas
  • NumPy
  • Scikit-learn

Deployment

  • Vercel
  • Gunicorn

šŸ“‚ Project Structure

car_price_prediction/
│
ā”œā”€ā”€ app/
│   ā”œā”€ā”€ utils.py
│   ā”œā”€ā”€ Car_Pred_Model.pkl
│   ā”œā”€ā”€ Column.json
│   └── encoded_data.json
│
ā”œā”€ā”€ templates/
│   └── index.html
│
ā”œā”€ā”€ CONFIG.py
ā”œā”€ā”€ main.py
ā”œā”€ā”€ requirements.txt
ā”œā”€ā”€ vercel.json
ā”œā”€ā”€ .env
ā”œā”€ā”€ .gitignore
└── README.md

āš™ļø Installation and Setup

Clone the repository

git clone https://github.com/roshankodi/car-price-prediction.git
cd car-price-prediction

Create and activate a virtual environment

Windows:

python -m venv .venv
.venv\Scripts\activate

Mac/Linux:

python3 -m venv .venv
source .venv/bin/activate

Install dependencies

pip install -r requirements.txt

Run the application

python main.py

Open the app in your browser:

http://127.0.0.1:5000

šŸ“Š Example Prediction

Input

Feature Value
Year 2018
Kilometers Driven 45000
Fuel Type Petrol
Seller Type Dealer
Transmission Manual
Owner First Owner

Output

Predicted Price: ₹543,870.26

šŸš€ Future Improvements

  • Add model comparison dashboard
  • Improve prediction accuracy
  • Add visual analytics
  • Add prediction confidence ranges
  • Add user authentication
  • Store prediction history

šŸ‘Øā€šŸ’» Author

Kodi Roshan

  • GitHub: https://github.com/roshankodi
  • LinkedIn: https://www.linkedin.com/in/kodi-roshan-78858b356
  • Portfolio: https://roshankodi.github.io/portfolio-me/

šŸ™ Credits

This project was built using open-source tools and libraries:

  • Flask
  • NumPy
  • Pandas
  • Scikit-learn
  • Bootstrap

The machine learning workflow and regression approach were inspired by standard automobile resale prediction techniques.


⭐ Support

If you found this project useful:

  • Star the repository
  • Fork the project
  • Share feedback

Made with Python, Machine Learning, and Flask šŸš€

About

Machine Learning-powered car price prediction web app built with Flask, Scikit-learn, and feature engineering for real-time resale price estimation.

car-price-prediction-vert.vercel.app/

Topics

data-scienceflaskmachine-learningml-projectnumpypandaspythonregressionscikit-learning

Resources

Readme
Activity

Stars

5 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.