Giter Club home page Giter Club logo

car-price-prediction's Introduction

Car Price predictor: Project Overview

  • A web app that estimates the selling price of the used cars to help customers to negotiate from dealers.
  • Optimized Random Forest Regressor using RandomizedsearchCV to reach the best model.
  • Built a client facing API using flask and deployed into heroku cloud.
  • Demo: https://sell-my-car.herokuapp.com/

Code and Resources Used

Python Version: 3.7

Packages: pandas, numpy, sklearn, matplotlib, seaborn, flask, pickle

For Web Framework Requirements: pip install -r requirements.txt

EDA

Model building

  • First, I transformed the categorical variables into dummy variables. I also split the data into train and tests sets with a test size of 20%.
  • I used ExtraTreeRegressor to know the feature importance.

  • I tried Random Forest model and evaluated them using Negative mean squared error and tuned the model using randomized SearchCV to obtain best results.

Results

The model performed very well.

Productionization

In this step, I built a flask API endpoint that was hosted on a local webserver and deployed into heroku cloud. The API endpoint takes in a request with a list of values from the user and returns estimated selling price.

car-price-prediction's People

Contributors

yashwanth-gurram avatar

Watchers

 avatar

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.