Step 9 of 38 · Delivery
Framing the problem before modelling
Agree the decision the model supports, the cost of each kind of error and the non-ML alternative before anyone trains anything.
Most failed ML projects fail at the framing, not the modelling. The team optimises a target that is easy to measure and only loosely tied to what the user or the business needs.
Before work starts, get one page agreed with product: who uses the output and what they do with it, what a wrong answer costs in each direction, what happens when the model is unsure, and how you would solve it without ML. Then state the model task in plain terms: inputs, outputs, and the data you have today, not the data you wish for.
Push back on requests phrased as a technique. A request to add a model is a solution. Ask for the problem.
Try this week
- Write the one-page framing for your next project and get product to sign off the error costs.
- Ask of one running project: what decision changes because of this model's output? Write the answer down.
Signs you've got it
- Every project has a written statement of who acts on the output and what each error type costs.
- You have declined or reshaped a project at the framing stage.
Resources
- guideIntroduction to Machine Learning Problem Framing (opens in a new tab)Google for Developers
- bookSetting and Measuring Goals (Machine Learning in Production) (opens in a new tab)Christian Kästner
- guideRules of Machine Learning: Best Practices for ML Engineering (opens in a new tab)Martin Zinkevich
- paperMachine Learning that Matters (opens in a new tab)Kiri Wagstaff
- articleOrganizing machine learning projects: project management guidelines (opens in a new tab)Jeremy Jordan