UBC-MDS / airbnb-price-prediction

Predicting the market price for a Vancouver AirBnB property
MIT License
1 stars 4 forks source link

AirBnB: How to price my new Vancouver AirBnB?

DSCI 522 Group 3

By: Monique Wong, Polina Romanchenko, Trevor Kwan

About

In this project, we build a predictive model to help new AirBnB hosts set the nightly price of their Vancouver AirBnB. Our predictive model predicts the market price of an AirBnb given the property, host and booking characteristics which we believe is given the the optimal price for both the host and AirBnB guests.

At this stage, we have trained a variety of machine learning models based on property-, host- and book-related characteristics of existing Vancouver AirBnBs. Examples of characteristics include property type, neighborhood, the number of people who can be accommodated, the ability to instant book the property, the booking's cancellation policy and the responsiveness of the host.

Surprisingly, our linear regression predictor exceeded the performance of more complex machine learning models that were evaluated (e.g., random forest regressor). This model, however, tends to consistently overestimate the price of AirBnB's below \$200/night and underestimate the price of AirBnB's above \$300/night. Further work should involve feature engineering to model interactions between features (e.g., neighborhood and property type) as well as fitting more complex linear models (e.g., that better model pricing behaviour above $300/night).

Details about our dataset can be found here.

Report

The final report can be found here.

Usage

There are two ways to reproduce this project.

Option 1: Requires Docker

docker run --rm -v PATH_ON_YOUR_COMPUTER:/home/airbnb_price moniquewong/airbnbprice:v2.0 make -C '/home/airbnb_price' all

docker run --rm -v PATH_ON_YOUR_COMPUTER:/home/airbnb_price moniquewong/airbnbprice:v2.0 make -C '/home/airbnb_price' clean

Option 2: Install the dependencies on your own

Dependencies

Dependency Diagram of the Makefile

Dataset Source

We have chosen a dataset that outlines Vancouver AirBnB listings. The dataset can be found here under the Vancouver, British Columbia section. A direct link to download the dataset is here. Data was compiled November 9 2019.