- Project Overview
- Screenshot
- Data Sources
- Hypotheses
- Data to Analyze
- Analysis
- Machine Learning
- Technologies and tools
- Conclusion
- Contributors
This project focuses on analyzing the trends in rental prices in Barcelona over the past 10 years, with the aim of understanding the housing market dynamics. The primary questions to be addressed include the evolution of rental prices, identification of seasonal patterns, and the correlation between the number of contracts and price trends.
The project utilizes data from the Barcelona City Council's open data portal:
- Rental prices have significantly increased over the last 10 years.
- Consistent seasonal patterns exist in rental prices.
- Special events, such as the pandemic, can be detected in the data.
- Quarterly average rental prices by neighborhood over the last decade.
- Quarterly information on prices per square meter.
- Quarterly data on the number of rental contracts.
- Examine overall trends in rental prices in the city over the last decade.
- Identify steady increases, fluctuations, and changes in the number of contracts.
- Analyze data by districts or neighborhoods to identify specific variations.
- Compare trends in selected neighborhoods to the city average.
- Use statistical methods to identify seasonal patterns in rental prices.
- Examine specific quarters for consistent increases or decreases in prices and contracts.
Utilize various machine learning models and compare validations for predictive analysis.
The project development utilized the following technologies:
- Jupyter notebook for data analysis and model building.
- SQL Workbench for database interaction.
- Tableau for data visualization
- pandas, numpy for data manipulation.
- seaborn, matplotlib for data visualization.
- scikit-learn for machine learning models.
- SQLAlchemy for database connectivity.
- LightGBM, GradientBoostingRegressor, KNeighborsRegressor, LinearRegression, MLPRegressor, and more for machine learning.
- Statistical methods, including t-tests, used for hypothesis testing.
This project aims to provide a comprehensive analysis of the rental market in Barcelona, utilizing a combination of statistical methods, machine learning models, and visualizations. The findings will contribute to a deeper understanding of housing trends and patterns in the city over the past decade.