Skip to content

Bassem-ElHusseiny/CarPricePrediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Used Car Price Prediction

A machine learning project to predict the prices of used cars based on features like mileage, engine size, fuel type, and car age. This project involves data preprocessing, feature engineering, and training multiple regression models to deliver accurate predictions.


Project Overview

This project aims to create a machine learning pipeline to predict used car prices accurately. It includes data cleaning, feature engineering, and model evaluation, providing insights into the factors influencing car prices.


Dataset

The dataset contains information on used cars, including their mileage, engine size, fuel type, transmission, and price. Key steps include:

  • Cleaning the data (handling missing values and outliers).
  • Engineering new features like car age and brand categories.

Steps Involved

  1. Data Cleaning: Handling missing values, outliers, and inconsistencies.
  2. Feature Engineering: Adding new features (e.g., car age, brand categories) and transforming variables.
  3. Data Visualization: Analyzing patterns using histograms, scatterplots, and heatmaps.
  4. Model Building: Training multiple regression models to predict prices.
  5. Evaluation: Comparing models based on metrics like RMSE and R².

Models Used

  • Random Forest Regressor
  • MLP Regressor
  • Support Vector Regressor (SVR)

Results

The best model provided robust predictions and captured key patterns in the dataset, demonstrating the importance of factors like mileage and engine size in determining car prices.


Technologies

  • Python
  • Libraries: Pandas, NumPy, Scikit-learn, Seaborn, Matplotlib

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published