AlgoViz

Predictive ML features and feedback

hard 7 min

A predictive model learns from historical examples, but at serving time it sees only information that has arrived by the decision.

Trace the example

Follow the evidence through each stage, then test a change in the case.

Could the fraud model know this at purchase time?

Could the fraud model know this at purchase time?. Selected component: Timestamped events inside Event pipeline.
Open full-size diagram

Event pipeline

Purchase at 10:00

The ledger records event and arrival times. A later fraud report labels this transaction after the prediction has already been served.

A new feature is highly predictive but arrives after the purchase. How should the training set use it?

Reconstruct what the fraud model knew

Exclude · this historical value arrived after scoring

The event occurred at minute 5. The purchase is scored at minute 10 after processing arrivals at that timestamp. A later backfill cannot improve the original prediction.