houseraicore

Stock condition models fail at the survey, not the algorithm

If a third of your survey records predate the last refurbishment, no amount of gradient boosting rescues the forecast. What to fix first, and how to prove it.

Applied ML 4 min read 746 words Published 29 July 2026 Applied ML practice
On this page

We were asked to improve a component lifecycle forecast that was consistently optimistic about kitchens. The client had a working model, a contractor who knew what they were doing, and a growing gap between predicted and actual replacement dates.

The model was not the problem. The model was fine.

The 30% problem

The first thing we did was plot survey date against property, which nobody had done because the surveys lived in one system and the asset register in another. About 31% of component records had a most-recent survey older than the most recent recorded capital works on that property.

In other words, for a third of the stock the model was being told the condition of a kitchen that had since been replaced. Those records were not noisy. They were describing a component that no longer existed.

Noise you can model around. A record describing the wrong physical object is not noise, it is a wrong label.

Why the model still looked good

The evaluation used a random train/test split. Stale records were spread evenly across both halves, so the model learned the stale pattern and was rewarded for reproducing it. Test error looked respectable. The model was accurately predicting a fiction.

This is the most common evaluation mistake we see in asset forecasting, and it is not a question of modelling sophistication. It is a question of what the split is meant to simulate. You are going to use this model to predict the future, so the test set has to be the future.

  • Split by time, not at random. Train on surveys up to a cut-off, test on what happened after it.
  • Hold out whole properties as well, so the model cannot memorise a block.
  • Report error separately for records with fresh and stale surveys. If the gap is large, you have a data programme, not a modelling task.

When we re-ran the existing model under a time-based split, mean absolute error on remaining life went from 2.1 years to 5.8. Nothing about the model had changed.

The baseline that embarrassed everyone

Before proposing anything we built the dullest possible comparison: assume every component lasts exactly its standard design life from installation date, and ignore survey condition entirely.

ApproachMAE, remaining lifeNotes
Design life from install date6.3 yrsNo survey data used at all
Existing gradient boosted model5.8 yrsTime-based split
Same model, fresh surveys only3.4 yrsCovers 69% of stock
Same model, stale surveys only8.1 yrsWorse than ignoring surveys

On the stale third, the model was worse than a rule of thumb. Feeding it condition data from before the refurbishment was actively harmful. That table did more to unlock survey funding than any presentation we could have written.

What we changed, in order

  1. Reconciled works history against survey dates and flagged every component record as fresh, stale or unknown. Two weeks.
  2. Excluded stale records from training and fell back to design-life estimates for those properties, labelled as such in the output.
  3. Re-prioritised the survey programme to target stale-flagged properties rather than the existing rolling 20% sample. This was the change that actually mattered.
  4. Only then retuned the model, which bought perhaps 0.3 years of MAE. Worth doing, worth doing last.
NoteThe survey re-prioritisation was not our idea. The asset team had wanted it for two years and had been told the sample must stay random for statistical validity. That is true if you are estimating a stock-wide average, and false if you are trying to reduce forecast error where it is worst.

What the forecast looks like now

Every property gets a remaining-life estimate and a confidence band, and the band is genuinely wider for properties with old surveys. Planners can see which parts of the programme rest on good data. Two of them told us that was more useful than the point estimate.

The model also refuses to produce an estimate where we have neither a survey after the last works nor a reliable install date. That is about 4% of the stock. Returning nothing is a defensible answer. Returning a number with no basis is not.

If you are starting from here

Plot survey date against works date before you do anything else. It is an afternoon of work and it will tell you whether you have a modelling project or a data collection project. In our experience it is usually the second, and the answer is unwelcome because survey funding is harder to win than a modelling contract.

Related

More on this

Recognise any of this?

Most of these notes exist because a client told us we had it wrong. If your situation looks similar, describe the symptom and we will tell you whether it is work we should take.