-
Notifications
You must be signed in to change notification settings - Fork 32
Final Project Submission - Vu.docx #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
7313c58
8b04c76
dde9171
cdd0154
d7b65b6
ffe4ff8
82819fb
ae27f96
b47331c
3d588b4
c43a22a
7479931
3c39809
031223e
bfae42a
2fc3605
c9bc0eb
d797dff
2062499
dcd9076
284ce81
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| https://dickinson0-my.sharepoint.com/:x:/g/personal/phamduyd_dickinson_edu/ETCYhqxdnFFBuwQGn4aU0jIBWhzsO48ybIblqPPPgIyokg?e=BxrMQD |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| # Predicting the "Perfect" Airbnb Listing | ||
| ##### By Pham Duy Anh Vu, Hannie Pham | ||
|
|
||
| --- | ||
|
|
||
| ## Introduction | ||
|
|
||
| When thinking of an ideal Airbnb listing, we usually think about compelling photography, clear and concise descriptions, responsive hosting, and a curated selection of amenities that cater to guest needs. It sets transparent expectations around space, price, and house rules, while highlighting unique features—be it a cozy reading nook, a stunning city view, or thoughtful local touches—that resonate with travelers and encourage bookings. | ||
|
|
||
| This study aims to quantitatively assess these elements and uncover key factors behind high-performing Airbnb listings, defined as those with guest ratings above 4.5, offering practical guidance for hosts, guests, and platform designers aiming to enhance listing quality and user experience. | ||
|
|
||
| --- | ||
|
|
||
| ## Data & Methods | ||
|
|
||
| - **Source:** [Airbnb.com](https://www.airbnb.com/) (via [`airbnb_api`](https://apify.com/tri_angle/airbnb-scraper)) | ||
| - **Preprocessing:** | ||
| - We first scraped our data using the `airbnb api` which returned the raw data onto a csv | ||
| - We then used the `pandas` Python library to clean and process the listing data to prepare it for analysis | ||
| - **Visualization / Models:** | ||
| - Used the `ydata_profiling` Python package for some preliminary analysis and visualizations | ||
| - All visualizations were created using `matplotlib` and `seaborn` | ||
| - We used linear regression models and Random Forest classification models for the predictive analysis | ||
|
|
||
| --- | ||
|
|
||
| ## Project Recreation | ||
|
|
||
| - **File structure:** All of the documents related to this project lies within the 'Final Project' folder | ||
| - **Raw Dataset** — The raw dataset file | ||
| - **cleaned_airbnb.xlsx** — The cleaned dataset file | ||
| - **Data400 Final Project.ipynb** — The Jupyter notebook that holds the Python code that runs the modeling and analysis for the project | ||
| - **ReadMe.md** — The ReadMe file | ||
| - **Data400 - Final Presentation.pptx** — The Powerpoint which compiles the results and discussion of the project | ||
|
|
||
| - **Recreation steps:** | ||
| - **Step 1:** Download or clone the project files | ||
| - **Step 2:** Open the 'Data400 Final Project.ipynb' file, change the working directory to your current working directory | ||
| - **Step 3:** Run the codes step-by-step to reproduce the results | ||
|
|
||
| --- | ||
|
|
||
| ## Results Summary | ||
|
|
||
| - **Listing Type and Pricing:** Boutique hotels, villas, and hotels had the highest median prices, while guesthouses and tiny houses offered more budget-friendly options with occasional high-end outliers. | ||
| - **Amenity Insights:** Listings with popular amenities like Wi-Fi, kitchen, and air conditioning tended to receive higher ratings, suggesting guest preferences significantly impact listing success. | ||
| - **Key Predictors of High Ratings:** Important features influencing listing success included number of reviews, amenities offered, superhost status, and listing type. | ||
| - **Regression Model Performance:** Linear regression and random forest models were used to predict both price and rating. The random forest model achieved better performance with higher accuracy and lower error metrics. | ||
|
|
||
| --- | ||
|
|
||
| ## Implications | ||
|
|
||
| - Understanding key drivers of high ratings can help hosts optimize listings for better guest satisfaction and higher bookings. | ||
| - Guests can use insights about pricing, property types, and common high-rated features to make more informed booking decisions aligned with their preferences and budget. | ||
| - The predictive models were able to find notable characteristics that affected ratings but remained inaccurate | ||
|
|
||
| --- | ||
|
|
||
| ## Future Work | ||
| - Experiment with more models and tuning methods to generate more accurate predictions | ||
| - Expand the analysis to include host-level data | ||
| - Possible intergration of data such as 'local crime rate' or 'hotel prices' to deepen on location-based success |
Large diffs are not rendered by default.
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Interesting idea...I’d be curious to see if there is a relationship between the hand that a player has and the percentage of times they attempt to bluff. Looking at the success rate of certain players would be interesting to see if there are strategies that someone could practice getting better at bluffing. You could also run a regression model to see which in-game factors significantly influence a bluff. Hopefully the webscraping process isn’t too complicated for you to get a variety of variables for your analysis. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super cool idea! I like the idea of creating categories for certain teams as “big market” teams. You can use these dummy variables in your regression to see how the betting statistics vary, while accounting for time of game (maybe look at “primetime” vs not). Lots of options for this...initial visualizations may uncover aspects of betting patterns that could be helpful to include in your model.