Machine Learning, FoundationsLesson 8 of 92

Module 1 · What learning is, and what it is not

The whole loop, once, before we slow down

In this lesson

  • 10 min read
  • 5 reading sections
  • Knowledge check
  • Lesson 8 of 9 in this chapter

This chapter’s goalTake a vague business question, state it as a dataset with a defined row, a defined target and a defined moment of prediction, name the loss and the baseline it must beat, and justify in one paragraph whether machine learning is the right tool at all.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmWatch1:44Not available
Full audiobookNot availableNot available
The loop, with its one irreversible arrowFrameDecision,row, target,momentSplitPut the testrows awaybeforelookingExplore andengineerDistributions,missingness,features:most of theworkFit and tuneModel familyandhyperparameters,on validationonlyTest, onceThesingle-usemeasurementDeploy andmonitorThen back tothe framingExploring, engineering and tuning cycle many times, all against validation data. The arrow into thetest set goes one way and is followed once, after every decision has been made without it.
Exploring, engineering and tuning cycle many times, all against validation data. The arrow into the test set goes one way and is followed once, after every decision has been made without it.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

A map you can hold in your head

Everything in the next eight modules is one of nine steps. Seeing them together now means each later lesson lands somewhere rather than floating.

  1. Frame. What decision, what row, what target, what moment. From the previous lessons.
  2. Collect and split. Get the data, and put a portion away before you look at any of it.
  3. Explore. Distributions, missingness, obvious errors, the target’s base rate.
  4. Engineer features. The bulk of the work. Module 3.
  5. Choose a model family and fit. Modules 2, 6, 8.
  6. Tune against validation. Module 4.
  7. Evaluate on test, once. Module 5.
  8. Deploy. Module 9.
  9. Monitor, and go back to step 1. Also module 9.

The arrows go both ways between 3 and 6 many times. They go one way into 7, and that is the discipline the whole field is built on.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the How a Language Model Actually Works exam.

Stuck on something?Ask Funke, your AI tutor

How to cite: Addaly (2026) ‘The whole loop, once, before we slow down’, in Machine Learning, Foundations. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/machine-learning-foundations/the-whole-loop (Accessed: 29 November 2026).