Ir al contenido

How the Scientist Checks Its Work

Esta página aún no está disponible en español. Se muestra la versión en inglés.

A model that looks good on the data it learned from can still be wrong about tomorrow. The Scientist runs the same checks a careful data scientist would, on every answer, and tells you when one fails. None of these are settings you turn on; they’re built in.

Every model is scored on rows or periods kept back from it while it learned (this is called held-out testing), so its accuracy is honest. Over time, it always trains on the past and tests on the periods that came after, never the other way round. When rows repeat the same customer or store, whole customers or stores are held out together, so the model can’t score well just by recognising them.

Every model is compared, on the same held-out data, with a simple method (a baseline): last period’s value, the same season last year, the average, or the plain middle value. The result says by how much the model wins, or that it doesn’t. If nothing beats the simple forecast, the simple forecast is what you get.

When it tries several models and picks the best, the winner is checked again on a block of data the search never saw, so “best” isn’t just luck.

Effects come with a range (an interval: the span the true value most likely falls in). Ranges around predictions are sized from the model’s real mistakes on held-out data, and their real coverage (the share of actual outcomes that landed inside them) is reported.

  • An input that predicts the outcome almost perfectly on its own is treated as leakage (an input that gives the answer away) and left out.
  • Columns recorded after the outcome, such as a cancellation reason or a refund flag, are left out.
  • Inputs worked out across the whole table are refused, because new rows couldn’t be scored the same way.

6. “Associated with”, not “caused”

Section titled “6. “Associated with”, not “caused””

Effects are reported as associations: the two move together after adjusting for what was measured. Only a randomised test, such as an A/B test or a holdout, proves cause, and only then does the Scientist call an effect causal.

7. The simple number beside the careful one

Section titled “7. The simple number beside the careful one”

Next to each adjusted effect, the Scientist shows the naive estimate: the plain before-adjustment comparison. You can see how much the adjustment mattered. When members spend far more than non-members but the programme’s real effect is much smaller, both numbers are on the page.

8. It stops when the data can’t carry the answer

Section titled “8. It stops when the data can’t carry the answer”

Too few rows, periods or events gets a plain reason, such as “Only 9 cases had the event: too few to estimate how soon it comes (at least 10 are needed)”, not a weak model dressed up as a strong one. A table that can’t be modelled as it is, such as one where a unit was never converted or a join doubled the rows, is sent back to be rebuilt.

When a model doesn’t beat its baseline, when an effect’s range includes zero (so it can’t be told apart from no effect), when an assumption fails, or when an unusual-activity check flags more than you asked, the result says so.

Before you see it, a second, stronger AI model reviews the answer once. It checks that every number comes from a step, every part of your question is answered, the model fits the question (the right level of detail, and nothing recorded after the outcome used as an input), every valid row was used, every effect came from Querri’s vetted modelling library, and any data faults it found were fixed in the main table. The review can send the answer back once. Every number in the paper is then checked against what the work measured.

A table too large for one modelling step (about 6 GB of memory, or an estimated 30 minutes) is refused up front, with advice to sample it or total it first.

The Scientist works from your raw tables. Before it models anything, it builds one row per the finest unit your question varies at: a SKU in a channel in a month, a customer, a shipment. Along the way it joins tables, removes duplicates, removes test records and nets out returns, and the paper’s Method section says what it did.

The rules every model needs (the analysis that explains why a number changed and the exact ABC, XYZ and RFM rules don’t, because they fit nothing):

  • At least 30 rows before any can be held out for testing.
  • At least 3 customers, stores or other units when rows repeat them.
  • Over time, enough periods for a first training window (40% of the history, and at least 3 periods), plus at least 2 more periods to test on.
  • About 10 rows per input as a rule of thumb. Fewer gets a warning.