Insights · mlops, methodology, machine-learning, capstone

Predicting Singapore Condo Prices with Machine Learning: An End-to-End MLOps Journey

By Li Zhongyi — Creator & Data Scientist · 20 October 2026

Updated 14 November 2026: this post is now the landing page for the series. The full detail moved into five posts, one per stage. The numbers below are the same as before. Nothing was silently edited.

Could a machine learning model price a condo, and could you trust the number it gives you? That was the problem I set out to solve, as my capstone project for the NTU SCTP Data Science Program.

The short answer is yes, with a range around it. The long answer is a story in five chapters. This page is where they all start. Each chapter will be explained in its own post in the future.

The six stages of the PropertyMetriQ model, from raw data to a live site.

The five chapters

  • 1. Data cleaning. The data lied. A 2025 export already contained the 2026 rows. Some sales were $1 gifts between family members. One caveat was a perfect duplicate. Before any model, the data had to be made honest: 251,457 raw caveats and 294,826 raw leases went in, and a table the model could trust came out. Data cleaning — coming next
  • 2. Feature engineering. A model only knows what you show it. So I had to choose: 29 things, in four groups. The unit itself. Where it sits. How much lease is left. And the market at the time. Distances measured in metres on the SVY21 grid, Singapore’s official metric map, not guessed from a district name. Feature engineering — coming next
  • 3. Model development. Six versions, and the best looking one was a lie. The third version scored 3.65% and I threw it out, because the test had leaked: the model had already seen the answers. The honest champion took six tries to reach 5.04%. Model development — coming next
  • 4. Hyperparameter tuning. A model has settings, called hyperparameters, that decide how it learns. I let a tool called Optuna search for the best ones over 50 trials. Five numbers made the difference, and tuning alone cut the error from 7.12% to 5.04%. Hyperparameter tuning — coming next
  • 5. Model deployment. A notebook is not a website. The model had to answer in under 10 milliseconds, every time, for 2,522 condos. DuckDB does the heavy work, SQLite serves it, FastAPI sits in front, and 569 tests run on every build. Model deployment — coming next

What went in, what came out

Before any model, the data had to be cleaned. Here is what went in and what survived.

What Raw After cleaning
Sales caveats 251,457 251,456
Tenancy leases 294,826 233,507
Condominiums in the catalog 2,991 2,522 served

The Result

What it is The number
Cleaned sales caveats 251,456 (2016 to 2026 Q3)
Verified tenancy leases 233,507 (32 month rolling window)
Condominiums served 2,522
Test error, out of time 5.04% MAPE
Test R² 0.9412
90% range coverage 90.0%
Coordinate grid SVY21 (metres, not degrees)

A few terms deserve a plain explanation

  • MAPE is the average percentage the estimate was off by.
  • Out of time means the model was tested using sales from the future that it had never seen, not on a shuffled mix of old ones.
  • R² is how much of the differences in price the model can explain: 0.9412 means about 94%.

Where to go next

  • If you want the plain language version of how an estimate is made, read How the AI estimates are built.
  • If you want the platform’s mission, visit the About PropertyMetriQ page.
  • If you want the detailed chapters, stay tuned. They will be published progressively.

Disclaimer

“Estimated Price” and “Estimated Price / Sqft” are automated statistical AI outputs, not certified property valuations. Models evaluate macro indicators and transacted benchmarks but do not inspect interior unit conditions or renovations. PropertyMetriQ is an independent proptech data tool, not a licensed CEA real estate agency or financial adviser. All analytics are provided solely for general market research. Historical resale profits and past profitable transactions do not guarantee future capital gains. Seek professional guidance from a licensed real estate salesperson before purchasing.

Notification

Action completed successfully.