Privacy note: We capture your IP address to provide customised and focused services. See our Privacy Policy.

Machine Learning Foundations — Alpha School

Lesson 20: Capstone Project: Build, Evaluate and Present Your Own Model

This is the lesson where everything in the course comes together. Your capstone is to build a complete machine learning model, evaluate it honestly, and present it as if it were a real product — including its limits. You will not be judged on having the highest accuracy, but on having made good decisions, measured them honestly, and been clear about what your model can and cannot do. That is what real machine learning work looks like.

Start by choosing a problem and a dataset. Good choices are small, real and understandable: predicting house prices from a public housing dataset, classifying emails as spam, predicting whether a student will pass a course from study data, or grouping customers from a shop's records. Avoid problems where the answer is already hidden in the data, and avoid datasets you have not looked at — open the data first, count things, draw pictures, and check who is missing. Write down, in one paragraph, what the model will predict, who will use it, and what a wrong prediction would cost.

Build, measure, improve

Next, build in stages. Begin with the simplest model that could work — linear or logistic regression, or a small decision tree — and measure it with cross-validation using the right metrics for your problem. That simple model is your baseline: every later improvement must beat it. Then try one improvement at a time — a new feature, a tuned setting, a different model such as a random forest — and record each experiment and its score. If a change does not help on cross-validation, say so and move on; a careful record of what did not work is as valuable as a record of what did.

Present it like a product

Finally, present your work. Your presentation should cover five things: the problem and who it affects; the data, including its gaps and who might be missing from it; the model you chose and why; your honest results, including performance broken down by group where that matters, and the mistakes your model makes most; and what would happen when it is deployed — how you would watch it, what would tell you it had stopped working, and who would be responsible. End with the limits: what your model cannot do, and what you would need — more data, better labels, a different approach — to do better. A capstone that is honest about its limits is a stronger piece of work than one that claims perfection.

Presenting to people who are not experts

Most of the people who will judge your capstone are not machine learning experts, and that is a feature, not a problem: it forces you to explain your work in plain words, which is itself a test of whether you understand it. A good presentation therefore avoids jargon wherever possible — say 'the model learned from past examples' rather than 'the model optimised a loss function', and say 'it was right 8 times out of 10 for this group, but only 5 out of 10 for that group' rather than quoting a single technical score. Use one clear picture — a chart of the model's mistakes, or a table of its results by group — rather than five confusing ones. And practise answering the hardest question in advance: 'why should I trust this model?' If you can answer that honestly, in words a non-expert can follow, then you have done the real work of this course, whatever your accuracy score says.

When you finish, you will have done the whole job: from data to deployment thinking, with fairness and explanation built in rather than added at the end. That is the skill this course was teaching all along — not just how to fit a model, but how to judge one, and how to take responsibility for it. Keep the project, keep the record of your experiments, and keep asking the two questions from Lesson 18: could I explain this decision to the person it affects, and if the model is wrong, how would anyone find out?

Watch & Learn

One video to watch for this unit, from a trusted educator.

Key Terms

Capstone project
A final project that brings together everything in a course: building, evaluating and presenting a complete model.
Baseline
A deliberately simple first model, used to check whether later, fancier models actually improve anything.
Experiment log
A written record of each change tried, the setting used, and the cross-validation score it produced.
Presentation
Explaining a model to others: the problem, the data, the model, the honest results and the deployment plan.
Deployment plan
How a model will be watched, updated and switched off in production, and who is responsible for it.
Limitations
An honest statement of what a model cannot do, and what would be needed to do better.

Discussion Questions

  1. Why is a simple baseline model valuable, even if you later replace it with something fancier?
  2. What would you include in a presentation to convince someone your model is trustworthy — and what would you leave out?
  3. Your capstone model works well overall but badly for one group. What do you do before presenting it?

Practice Questions

  1. What should you write down before building your capstone model?
  2. Why start with the simplest model that could work?
  3. Why record experiments that did not improve the score?
  4. What five things should your capstone presentation cover?
  5. Why is honesty about a model's limits a strength, not a weakness?
Show answers
  1. What it will predict, who will use it, and what a wrong prediction would cost. That paragraph keeps the project honest and focused on the people affected.
  2. Because it gives a baseline that every later improvement must beat. Without a baseline you cannot tell whether a fancier model actually helped.
  3. Because a careful record of what did not work is as valuable as what did. It stops you repeating failed ideas and shows your thinking to anyone reviewing the work.
  4. The problem, the data, the model, the honest results, and the deployment plan. It should end with the model's limits and what would be needed to do better.
  5. Because it shows you understand the model and can be trusted with it. A capstone that claims perfection hides its real weaknesses; one that states its limits can be improved.
Keep reading to complete this lesson