Will it rain tomorrow?

Every morning a classifier estimates the chance of at least 1 mm of rain tomorrow in seven Mexican cities. The next day each forecast is compared with what happened, and the record below grows.

Loading data…

Tomorrow's chance of rain

0%100%Larger circle: higher chance

Forecast against outcome

One square per day over the last year. Select a day to see why the model answered as it did.

Chance 0%100% It rained Model was wrong Real forecast (others: historical test)

Live track record, rolling 30 days

Historical evaluation against simple baselines

Reliability (calibration)

ROC curve

Precision and recall

All cities

Brier score and calibration reward honest probabilities; for the Brier score, lower is better. F1 and accuracy use a 50% decision threshold.

Test-period scores by city

Method and limitations

A single model is shared by all cities, with the city as an input. It uses weather from complete days only: the forecast for tomorrow is made this morning, so the newest data it sees are yesterday's. Splits follow time order and probabilities are calibrated on a later period than the one used for training.

  • “Observed” rain is the Open-Meteo analysis for the city's coordinates, not a rain gauge. It can differ from what you saw on your street.
  • Professional weather forecasts use physical models of the atmosphere and are better than this demo. It is not an official forecast.
  • The live record starts small. Wait for a few weeks before reading much into it.
  • A forecast is stored once and never edited. If a daily run is missed, that day stays empty.