How can you tell whether a river forecast is any good?
A useful forecast needs more than a convincing historical graph. Explore independent tests, missed events and the evidence behind a prediction.
A model can draw a close match to a river’s historical record and still be a poor forecast. The crucial question is what information it had when each prediction was made.
A useful assessment recreates that situation, then compares the prediction with what actually followed.
Keep the future out of the inputs
A prediction issued on Monday cannot use rainfall measured on Tuesday. It can use a rainfall forecast available on Monday, but that forecast has its own uncertainty.
Historical testing can accidentally include future information through data preparation, later revisions or the way examples are divided. That makes a result look better than the service could achieve in operation.
The scikit learn guidance on testing time series explains why ordinary random splitting can be unsuitable for observations ordered in time.
Separate learning from the final test
Data used to choose a model or tune its settings are already part of development. A final assessment needs observations kept separate from those decisions.
Testing on later periods asks whether performance continues through time. Testing at other locations asks whether it transfers between rivers. Neither test automatically substitutes for the other.
The range of conditions matters too. A period without significant events cannot establish how well the model predicts them.
Use more than one measure of performance
For a concentration forecast, numerical error and the timing of peaks may matter. For an event warning, missed events, unnecessary alerts and available notice may be more relevant.
An illustrative system could achieve high overall accuracy simply because the event is rare and it usually predicts no event. That would provide little help on the days that matter most.
Probabilities also need checking across many cases, as our guide to what a forecast percentage means explains.
Compare with a useful alternative
A forecast should be compared with a suitable simple baseline, such as continuing the latest observation or using the usual seasonal pattern.
The observations used as the test record need their own quality checks. Sensor faults, missing peaks or inconsistent timestamps can make a useful prediction appear wrong, or reward a misleading one.
A strong assessment makes the task, available information, test conditions and limitations visible. That gives someone a basis for deciding whether the forecast is ready for the use being proposed.