Anomaly Detector Generator

Dataset requirements

The file

The data must represent normal operation

This is the assumption the whole method rests on, and the one failure that does not announce itself.

The model learns what normal looks like from what it is shown. A fault present in the training data is learned as normal, and that fault will never be flagged again. Nothing in the interface can detect this, and the resulting model looks exactly like a working one.

A frozen sensor is the clearest case: we warn when we spot one, but we cannot spot every kind.

Data spanning less than a full heating season is accepted with a warning: a model trained on one season reports the next as anomalous.

That is measured, not cautionary. On our own test data, a model trained on 90 days raised no false alarms when scoring a later season; one trained on 30 days — the shortest span accepted — raised three. Nothing is wrong with the shorter model: it has simply never seen summer, and says so the only way it can.

So a short dataset is worth training on, and its model is worth trusting on the season it learned. If you score it against a different one, read the first findings with that in mind.

What we check

Per column and per interval, measured on the 15-minute grid the model actually trains on — so the check never disagrees with what the model saw:

A dataset is refused if, after cleaning: fewer than 2 000 rows survive, more than 40 % of rows were removed, any column is constant or wholly empty, fewer than two usable columns remain, or the span is under 30 days. The decision is deterministic — no administrator is involved, and a refused dataset costs you no dataset slot. Your file is kept for seven days so you can download it and compare it against the findings.

Anything else is a warning: the dataset is usable, and the findings are shown before training starts. Gaps come with a timeline showing where in the period they fall, because the count alone cannot tell you whether you are looking at one outage or at a sensor dropping out every night — and the two call for different decisions about the data.

You confirm the data represents normal operation on every submit, whether or not the check found anything. The check is evidence for that claim, never a substitute for it — see using the app. Where there are findings, the same confirmation covers them.

Column kinds

We classify each column from its behaviour, not its name — names do not generalise between sites, and a name list from one plant is wrong at the next. You confirm or correct every one before training.

Kind What it looks like How it is treated
analogue continuous resampled by mean
digital at most two distinct values resampled by last value, never averaged
ordinal a few integer states — a compressor stage, a selector position resampled by last value
counter monotonic, such as an energy meter differenced to per-interval change

Ordinal exists because averaging a three-position selector gave a meaningless 2.5. Counters are differenced so the model sees the rate rather than the ramp; fed raw, a meter climbs without bound and makes the threshold meaningless.

A column whose values are sparse but spread evenly through the period is treated as holding its value rather than missing it, and the treatment is reported on the check screen.

Mark weather and ambient columns as context

Outdoor temperature, humidity, solar irradiance and wind vary continuously with a strong daily cycle — exactly like a process sensor — so no automatic rule can separate them. We leave them scored and ask you to mark them.

Left scored, unusual weather is reported as a fault. The plant cannot fail the weather: a deviation there is weather, not a fault.

If your dataset is refused

The message lists every reason at once, not the first one. Fix what it names and upload again. The refused file stays available for seven days.