GithubHelp home page GithubHelp logo

shreyashsupe / car-price-prediction Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 256 KB

Predict used car prices accurately using regression models. Explore, preprocess, and evaluate models for best results.

Jupyter Notebook 100.00%

car-price-prediction's Introduction

Car Price Prediction

This project predicts the selling price of used cars based on features such as year of manufacture, present price, kilometers driven, fuel type, seller type, transmission, and owner details. Various regression models are implemented and compared to find the best model for predicting car prices.

Dataset

The dataset contains information about used cars, including details such as car name, year of manufacture, selling price, present price, kilometers driven, fuel type, seller type, transmission, and owner details.

Project Overview

This project explores a dataset of used car information, preprocesses the data, builds, and evaluates regression models to predict car prices. It employs a range of visualization techniques for data exploration, encoding categorical variables, and model evaluation to find the most accurate prediction model.

  1. Data Exploration and Visualization
  • Dataset Overview
  • Visualization
  1. Data Preprocessing
  • Categorical Encoding
  • Feature Engineering
  • Train-Test Split
  • Feature Scaling
  1. Model Building and Evaluation
  • Implemented various regression models:
    1. Linear Regression
    2. Decision Tree Regressor
    3. Random Forest Regressor
    4. XGBoost Regressor
    5. MLP Regressor
  • Training and Prediction
  • Model Evaluation
  1. Model Comparison and Selection
  • Comparing model performance based on MSE and R-squared scores.
  • Selecting the best performing model for car price prediction.

Conclusion

We found that the MLP Regressor provides the best performance for predicting car prices, with the lowest Mean Squared Error (MSE) and the highest R-squared score. This indicates that the MLP Regressor model is well-suited for this task.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.