Build notes · Goh Kun Ming
Housing Price Lab
AI · Notebook experiment
Oct 2024 – Nov 2024
Project overview
Examining housing-price models against a simple baseline.
An ensemble-regression study using a 545-row classroom housing dataset. The project engineers property features, compares model weights with cross-validation and reserves a separate test set for evaluation.
Inside this build
- Prepared a dataset spanning five cities and three renovation categories, with no missing values or duplicate identifiers.
- Engineered total-room, area-per-bedroom, toilet-to-bedroom and storey-area predictors while excluding identifiers and price from inputs.
- Used fold-fitted imputation, scaling and one-hot encoding to prevent preprocessing leakage.
- Compared four ensemble-weight candidates with five-fold validation on 436 training rows, selecting a 2:1:1 Ridge, random-forest and gradient-boosting ensemble.
- Evaluated 109 held-out rows: R² 0.5353, MAE 113,249.95 and RMSE 153,267.51, with lower error than the median baseline.
- Added 19 tests and documented the lack of external validation, prediction intervals and subgroup analysis; this remains a classroom study.
Project files
Original project files are in English.
-
Original coursework presentation
Document preview
Use the page controls to browse. Enlarge a page to read the details.
Loading document…
When enlarged, scroll within the page to see more.
Page text
Text is extracted from the original English document. Charts, images and reading order may need the PDF for context.












