Coder Social home page Coder Social logo

prernamishra08 / airbnb-rental-price-prediction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lord-shaz/airbnb-rental-price-prediction

0.0 0.0 0.0 4.16 MB

The objective of this project is to model the rental prices for Airbnb apartments in London.

License: MIT License

Python 100.00%

airbnb-rental-price-prediction's Introduction

logo

Airbnb-Rental-Price-Prediction:


The objective of this project was to model the rental prices for Airbnb apartments in London.

Problem Statement:


  • Airbnb is an online marketplace which allows users to post listings on their website and it earns commissions from every booking.
  • At present when someone wants to list an Airbnb rental, they have to manually analyze similar properties near their location and decide the price themselves.
  • Idea of our project is to form a model to estimate what the correct price of their rental should be given the features of their property.

Dataset:



Data Analysis and Visualization:


HeatMap: Heat Map


Bedroom VS Price: BedroomVSPrice


London Borough vs Price: London Borough vs Price


ProposedSolution: ProposedSolution

Model Creation & Selection:

Classification metric:

  • After feature engineering step we have created 2 bins for 'price' from 0-100 & 101-2001.
  • Splitting the data into Train and Test set(70-30).
  • Before performing Regression we have first done Classification to predict Price_bins.
  • We chose Random Forest and Logistic Regression because we wanted a algorithm which would allow to assign class weights to handle class imbalance problem.

ClassificationMetric

Regression metric:

  • After performing Classification on price_bins we have built XGBRegressor model for each price bin.
  • We have trained the model on log transformed Target variable as price is a relative term.
  • We have used L1 regularization to prevent overfitting.

RegressionMetric


Thank You!

Follow @ShehzadaAlam

airbnb-rental-price-prediction's People

Contributors

lord-shaz 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.