GithubHelp home page GithubHelp logo

airbnbprice's Introduction

Price Prediction for New Airbnb Listings

Airbnb is a popular home-sharing platform that provides people all over the world a profitable option to share their empty houses or extra rooms. For potential hosts, it might be difficult for them to decide how much they should charge for new listings. As far as I know, there is no public model on Airbnb website for predicting the price of a new listing on Airbnb. So, the goal of this project is to build a prediction model to help potential hosts get some descent ideas on optimal price for their beloved houses.

Fortunately, Inside Airbnb has already aggregated the publicly available information from Airbnb site for public discussion. So, the dataset downloaded from this website is a good starting point. In particular, I will use the dataset collected in New York, compiled on 6th, December, 2018. This dataset contains 49056 listings and 96 columns.:

Besides the features already in the dataset, there are two features I think might also be important: photo and description of the listings. An attractive photo with appropriate description can boost the room’s popularity, so I engineered two more features and added them into the model.

  1. Photo of the listed house. The original dataset has the URL link to the webpage of the corresponding listings, so the photos can be scraped from the internet. An attractive photo should have desirable resolution and also be aesthetically attractive. Here I used NIMA: Neural Image Assessment provided by Google to score the image quality on scale of 1 to 10. NIMA scores of some random samples in the dataset are shown below. NIMA score

  2. Description of the house. Sentiment analysis on description of the house was carried out using nature language processing. To discover the abstract topics hidden in the text, topic model latent Dirichlet allocation was used. The screenshot of visualizing LDA topic model is shown below, the interactive html page is named as lda_description.html in the repository. LDA topic model)

The project will be described as follows:

  1. Exploratory data analysis and data preprocessing: Get an insight of the dataset and clean the data for later analysis.
  2. Feature engineering: Analyze the text in "description" and web photo for each listings. Topic and image score will be added as two new features for the machine learning model.
  3. Machine learning model and refinement: Apply machine learning algorithms and fine tune the best model.
  4. Future work
  5. Conclusion

In conclusion, the purpose of this project is to help potential hosts to decide the price for their new listings. It also shows that there are lots of valuable information can be captured from web photos and descriptions when building a similar machine learning model. Of course, the model shown here is not perfect and needs further investigation.

The overall summary of the project can be checked here: https://chaoli.blog/2019/01/25/machine-learning-model-for-airbnb-yield-prediction/

Author

Chao Li

airbnbprice's People

Contributors

cl3080 avatar

Stargazers

 avatar  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.