Skip to content

Repository files navigation

Used Car Price Prediction πŸš—

πŸš€ Project Overview

This project aims to develop predictive models 🧠 to accurately determine the resale value of used cars based on various attributes. Leveraging advanced machine learning techniques, the project assists both sellers in setting competitive prices πŸ’² and buyers in making informed decisions 🧐.

πŸŽ₯ Project Presentation

Check out the detailed project presentation here: View Project Presentation on Canva

πŸ“Š Data Description

The data for this project is sourced from the CarDekho website 🌐 and includes comprehensive details about used cars, influencing their market value. The dataset is structured into training, testing, and validation sets to facilitate a thorough analysis and robust model training.

🧠 Models Used and Performance Analysis

Random Forest Regressor 🌲

Random Forest Regressor is ideal for this project due to its ability to handle non-linear data with a high dimensionality. It works well for large datasets and provides a good indicator of feature importance derived from the aggregated trees.

Decision Tree Regressor 🌳

Decision Tree Regressor is used for its simplicity and effectiveness in capturing the nonlinear relationships within the data. It's particularly useful for interpretability, which is essential for understanding which features most affect car pricing.

XGBoost πŸš€

XGBoost stands out due to its speed and performance as it is an optimized distributed gradient boosting library. It is also effective in avoiding overfitting, making it a solid choice for any model aiming at achieving both high accuracy and generalization.

Support Vector Regression (SVR) πŸ”

SVR is used in scenarios where the margin of error is predefined. In the context of car price prediction, SVR can model the complex relationships between features but requires careful tuning of its parameters.

Selection of Best Model

Model Ranking: Random Forest Regressor > Decision Tree Regressor > XGBoost > Linear Regression - Ridge - Lasso > SVR

Training Data Evaluation

Train Accuracy

Test Data Evaluation

Test Accuracy

Save Best Model - Random Forest Regressor 94% πŸ†

Predicting Price by giving Car features

Car Price Predicted

πŸ›  Technologies Used

  • Python 🐍: Primary programming language.
  • Pandas & NumPy πŸ“Š: For data manipulation.
  • Matplotlib, Seaborn & Plotly πŸ“ˆ: For data visualization.
  • Scikit-Learn πŸ€–: For machine learning model development.

This README provides a comprehensive overview, enhancing understanding and accessibility for users who wish to explore the predictive capabilities of machine learning in automotive pricing.

About

πŸš— The Used Car Price Prediction project uses advanced ML models like Random Forest 🌲, Decision Tree 🌳, XGBoost πŸš€, and SVR πŸ” to predict used car prices, enhancing buying and selling decisions.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages