Millions of hosts and travelers choose to list their space and book unique accommodations anywhere in the world. Hosts could share their passions and interests with both travelers and locals by renting their houses and travelers could experience local culture and traditions deeply. Travelers need to know the local environment and reviews of their potential accommodations, such as the location, safety and grade. For landlord, they expect to get a reasonable and competitive price before they poll accommodations online. As a web-based marketplace, this tool will be helpful to both travelers and landlords in dealing with their accommodations.
Yuchen Wang
Xintong Xu
Yuhan Gao
Jinlin Xiang
The following Airbnb activity is included in this Seattle dataset:
- Listings, including full descriptions and average review score, 4 columns
- Reviews, including unique id for each reviewer and detailed comments, 92 columns
- Calendar, including listing id and the price and availability for that day, 6 columnsAfter selecting, the dataset review was deleted to 38 columns. (from https://www.kaggle.com/airbnb/seattle#reviews.csv)
housingrecommendation
├─ .gitignore
├─ .travis.yml
├─ LICENSE
├─ README.md
├─ docs
│ ├─ Component Specification.md
│ ├─ Functional Specification.md
│ └─ technology_review.pdf
├─ example
│ ├─ House-Prices.ipynb
│ └─ folium_demo.ipynb
├─ house_rec
│ ├─ __init__.py
│ ├─ code
│ │ ├─ htmlserver
│ │ └─ views
│ ├─ data
│ │ ├─ calendar.csv
│ │ ├─ listings.csv
│ │ └─ reviews.csv
│ └─ tests
│ ├─ test_cleaned_data.py
│ └─ test_datahandle.py
├─ requirment.txt
└─ setup.py
Database with listing information and location User interface that allows users to select area Map view that allows users to visualize all rooms location in this area
Database with guests’ review scores User interface that allows users to input the info about the room User interface that allows users to select the order of recommendations Map view that allows users to visualize the recommendations’ location
Database with price of houses around it User interface that allows users to input the info about the room to improve the accuracy of predicted price Map view that allows users to visualize all houses or the similar rooms around it
Application is running on Flask framework, so users need to install corresponding module in advance.
- run requirements.txt to ensure all dependencies exist : pip install -r requirements.txt
-
Install following otehr package
pip3 install flask pip3 install geojson pip3 install pandas pip3 install numpy pip3 install json pip3 install requests pip3 install sklearn
-
clone the repo:
git clone https://github.com/adonis-wyc/housingrecommendation.git
-
Go to htmlserver foler:
cd housingrecommendation/code/htmlserver
-
run backend server in flask
flask run
-
type http://127.0.0.1:5000/ in the browser