internalsGet Pro

Module 14 · Lesson 4 of 15Pro

Batch prediction pipelines

Level
Intermediate
Topic
Deploying ML models
Reading time
16 min

When you finish this page you can

  1. Size a weekly scoring job from its row count, memory per chunk and the time window it must fit in.
  2. Make a retry safe by writing each run to its own place, in chunks split by key, and resuming from the last finished chunk.
  3. Check the predictions themselves before anyone can read them, and publish a whole run with one atomic switch.
  4. Decide what readers see when a run fails: last week’s checked predictions, never a half-written table.
  1. Design: a churn prediction model for an online store28 min
  2. Training pipelines: from notebook to repeatable job17 min

Video lesson · coming soon

The retry finished, and the orders doubled

is the online store this course uses as its example. It now has 5 million customers a day and 20 million products. Every week, a model forecasts how many units of each of its top 2 million products each of its 10 warehouses will sell next week. Kartly’s replenishment job reads those forecasts at 06:00 on Monday and orders stock from sellers.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan