Basics and the lifecycle
What it is
Questions on this theme, with the answer an interviewer is listening for. Revise modules 1 to 3 if an answer surprises you.
Why it matters
Say each answer aloud before reading it.
- The first sentence should be a complete answer on its own.
- The rest adds one example or one trade-off.
- Stop there; let the interviewer choose where to go deeper.
In the real world: Screening calls often start with the first question; a two-sentence answer naming the loop and silent failure is ideal.
Q: What is the difference between an ML model and an ML system?
The model is one learned function; the system is everything that makes it useful: data pipelines, labels, features computed the same way in training and serving, training and release, serving, monitoring and retraining.
Q: Describe the ML lifecycle.
Scope the problem and metric, collect and label data, build a baseline and then a model, deploy safely, then monitor and retrain, looping back as the world changes.
Q: Why do ML systems fail silently?
A wrong prediction looks like a right one and raises no error, so system health can be perfect while quality falls. You have to monitor inputs, predictions and outcomes.
Q: When should you not use ML?
When simple rules work, there are no labels, mistakes are unacceptable, or the problem is too small to justify ongoing upkeep.
Q: What is a baseline and why build one?
The simplest thing that could work, such as a rule or a popularity list. It sets the bar for any model, often delivers much of the value, and becomes the fallback.
Q: What is the difference between online and batch prediction?
Batch computes predictions in advance on a schedule and stores them; online computes them when requested using the latest context. Batch is cheaper; online is fresher.