Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

Project: Predicting Airbnb Prices with Machine Learning

πŸ“ Description

Developed a predictive model using machine learning algorithms to forecast Airbnb prices based on various features such as location, amenities, and property type.

πŸ› οΈ Technologies Used

  • Python
  • scikit-learn
  • pandas
  • osmnx
  • geopandas

πŸš€ Challenges

  • Handling missing data
  • Feature engineering
  • Model evaluation

πŸ€– Models Used

  • Random Forest Regressor
  • Linear Regression
  • Geospatial Models (SLX & SAR)

πŸ“Š Findings

  • Key factors influencing property prices include location, property size, and proximity to attractions.
  • Spatial influences also play a role in price predictions.

🌍 Map of Airbnb Prices in Prague

Airbnb Prices Map

  • The dots represent Airbnb listings in Prague. Brighter colors indicate higher prices.
  • As expected, the highest prices are concentrated in the Old Town of Prague.

πŸ“ˆ Results and Model Comparison

Model Property Features POI Features Spatial Lag Spatial Cross Correlation Relative Improvement RMSE
Ordinary Least Squares Regression βœ… ❌ ❌ ❌ 0%
Geospatial Regression βœ… βœ… βœ… βœ… 8%
Random Forest βœ… ❌ ❌ ❌ -2%
Random Forest (with POIs) βœ… βœ… ❌ ❌ 14%

πŸ“ What are Points of Interest (POIs)?

  • Points of Interest (POIs) are locations that may attract people, such as restaurants, bars, and public transportation.

πŸ—ΊοΈ What are Spatial Lags and Spatial Cross Correlation?

  • Spatial Lag: Measures the influence of neighboring properties' prices on the price of a property. It captures spatial autocorrelation of property prices.
  • Spatial Cross Correlation: Measures the relationship between the spatial distribution of different variables, capturing spatial dependence between features.

πŸ”‘ Key Findings

  • Effect of Space: Considering spatial influences improves price predictions.
  • Best Models: The best models are either linear models with complex spatial features (spatial regression) or non-linear models (random forest) with simpler geospatial features (POIs).

About

Developed a machine learning-based predictive model to forecast Airbnb prices using features like location, amenities, and property type.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /