ML Engineer · Step 3 of 8 · 6 min
The ML workflow, end to end
You can walk a problem from a vague question to a trained model, and say where each step can go wrong.
Start with the question, not the model
Every project starts with a decision someone wants to make. 'Which customers are likely to cancel next month?' is a useful question. 'Use AI on our data' is not. Write down what the model will predict, who will use the prediction, and what they will do differently because of it.
Then ask: could a simple rule do this? If 'customers who have not logged in for 30 days' catches most cancellations, start there. A model has to beat the simple rule to be worth building.
Data, then features
Next you collect examples where you already know the answer: past customers and whether they cancelled. This is labelled data. You clean it: fix missing values, remove duplicates, check that dates and units make sense.
Then you build features, the columns the model learns from. 'Number of logins in the last 30 days' or 'days since last purchase' often matter more than which model you pick. Good features come from understanding the business, not from clever code.
Train, evaluate, repeat
You split the data, train a model on one part and measure it on the part it has not seen. The first result is rarely good. You go back, add a feature, fix a data problem, try another model. This loop is the real work.
Keep notes on each attempt: the data version, the features, the settings and the score. Tools like MLflow or a plain spreadsheet both work. Without notes you will not remember which run was the good one.
Then ship and watch
A model is only useful once it reaches the people making the decision. That might be a nightly list in a spreadsheet or a live API. After launch you keep measuring, because the data will change. We come back to this in the shipping step.
Try it
Plan a project with a chatbot
- 1.Pick a real problem you know, from work or daily life.
- 2.Use the prompt below and answer the chatbot's questions honestly.
- 3.Keep the plan. You can use it for your portfolio project at the end of this track.
Act as a senior ML engineer. I want to build a model for this problem: [describe it]. Interview me one question at a time to define: what exactly the model predicts, who uses it, what data I have, which features might help, a simple rule-based baseline, and how I will measure success. Then write a one-page project plan.