ποΈ Toronto Condo Affordability Predictor
A spatio-temporal machine learning system that predicts neighborhood-level condo prices and helps users plan down savings and rent affordability
Housing affordability is a major challenge for students and young adults in Toronto.
This project uses open municipal and federal datasets to:
- Predict condo rent prices across Toronto neighborhoods using machine learning (LightGBM/XGBoost).
- Estimate affordability timelines for users based on their income and other metrics.
- Visualize attainable neighborhoods through an interactive web application.
- πΊοΈ Spatio-temporal price forecasting
- π° Personalized affordability
- π Interactive map with attainable neighborhoods
- π¦ Fully open-data pipeline using CMHC, and Census data
- βοΈ Quantile regression for uncertainty estimates
| Component | Technology |
|---|---|
| Backend / ML | Python, scikit-learn, XGBoost |
| Database | DuckBD, dvc |
| Frontend | Streamlit |
| API Layer | FastAPI |
| Visualization | Plotly, Folium |
| Version Control | Git + GitHub |
git clone https://github.com/Western-Artificial-Intelligence/condo-cost-predictor.git
cd condo-cost-predictor
STRCUTURE ONCE WE HAVE ALL SET UP
condo-cost-predictor/
βββ data/ # Open datasets (CMHC, StatCan, City of Toronto)
βββ notebooks/ # Exploratory and model development notebooks
βββ src/
β βββ data_pipeline/ # ETL scripts for data cleaning and joins
β βββ models/ # Training, validation, and evaluation scripts
β βββ api/ # FastAPI endpoints
β βββ app/ # Streamlit front-end
βββ requirements.txt
βββ README.md
βββ LICENSE
MAKE SURE YOU DO THIS
- START AN ENV
python3 -m venv venv
source venv/bin/activate # macOS/Linux
venv\Scripts\activate # Windows
- DOWNLOAD DEPENDECIES
pip install -r requirements.txt
-after when we have it running we will use
streamlit run app.py