SAME is a PropTech startup disrupting the way real estate investing is done. The world that we live in is changing, and with change comes great responsibility. Responsibility that requires innovation, which is the core of our business model. We make recommendations to our users based on their lifestyle and their financial goals.
Our goal is to leverage our data-driven business model to educate and empower our users around Real Estate Investing. We provide users the research and analysis needed to decide whether you should sell, buy, or rent out a property. We are in an information era and knowledge is key. Which is why we are seeking a $250,000 (or 5 bitcoins) investment for 10% stake in our company, allowing us to give our customers the key to investing in real estate, or the key to their next home.
The project code and analyzation is done in two parts -
1st part - Which city suits your lifestyle eg. whether you have any preference to live in any specific cultural community or diverse community?.
2nd part - Once we finalize the city, then we analyze why this city is best to invest financially?.
There are so many parameters to financially analyze this, but we took only two parameters for this prototype. Ist parameters - we compared whether the user's mortgage is lesser than the historical city's average rent and the 2nd parameter - we compared whether expected real estate price is lesser than the city's average historical real estate price.
This project leverages python 3.7 with the following packages:
-
Pandas - For data cleaning, preparation and manipulation
-
Jupyter Notebook - An open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text.
-
Visual Studio Code - A code editor redefined and optimized for building and debugging modern web and cloud applications
-
Fire - For the command line interface, help page, and entrypoint
-
Questionary - For interactive user prompts and dialogs
-
Pyviz - Python visualization package that provides a single platform for accessing multiple visualization libraries. Two of these libraries are Plotly Express and hvPlot, which were used in this project
-
The Mapbox API - To use the Mapbox API, you need to register for a public Mapbox API access token
-
Flask - A Python library which allows you to build a web application
Download Anaconda for your operating system and the latest Python version, run the installer, and follow the steps.
Before running the application first install the following dependencies.
pip install fire
pip install questionary
pip install pytest
pip install pandas
pip install numpy
pip install flask
pip install hvplot
To install PyViz and its dependencies in your Conda dev environment, complete the following steps:
-
From your terminal, log in to your Conda dev environment.
-
Install the PyViz packages by using the conda install command as follows:
conda install -c plotly plotly=4.13.
conda install -c pyviz hvplot
Part 1st- which city suits user's lifestyle ?.
As a user, you'll be able to input your lifestyle needs on a professionally completed dashboard, which was built using Flask. And, based upon user's preferences, for example- whether user prefer more diverse area or specific community, this dashboard would recommends cities.
Part 2nd- why that city is best to invest in?.
After collecting, cleaning, and manipulating the data, we analyzed the 2nd part financial aspect and researched most critical parameters like population , which affects real estate supply & demand and hence the finance. We used jupyter lab to find the correlation between the critical parameters eg. population and real estate prices .
Examples following image shows that- city 'Bakerfield' has the high population but still lighter in color and hence lower real estate price. Primary because this city is in outskirt and hence real estate price is low and therefore not much profit in renting out. Similarly, Costa mesa city is small but high population density and hence high real estate price, that's why color shows darker on visualization.
Another correlation we used was between covid cases, IT/ employment sector and real estate price. We observed cities like San Mateo having lower covid cases have high real estate prices. However, that's not always the case because LA city has a significant number of covid cases but still high real estate prices,primarily because of the IT sector and employment area.
After analyzing correlation on jupyter, we built another interactive dashboard interface, where user can direcly submits basic info like mortage planning to pay or average rent intend to get etc. As seen from the snapshots, the user will be able to input their financial goals in order for us to make a recommendation:
This dashboard will automatically compare user's input and historical average data, and will recommend whether this city is financially sound to invest in or not.
The final outcome should result in the following:
-
A Jupyter notebook with an analysis and recommendation of the best city for the user's real estate investment
-
Professionally styled and formatted interactive visualizations
-
A dashboard that allows users to input their information and be given a recommendation on where to invest
Limitations - we just took the prototype of few cities and few parameters affecting real estate demand & supply and hence the prices. However, there is a lot more to it and other ciritcal parameters like tax rate etc would be added in our final product.