Classytic

Course

Machine Learning: from a line of best fit to a foundation model

Start by fitting a straight line and finish by predicting the next token, using the same idea the whole way. Every model here is small enough to check by hand, and every chapter ends where a real production system actually stands today.

73 lessons7h 51mEnglish

What you'll learn

  • Explain what it means for a model to be fitted to data rather than written by hand
  • Measure a model’s error as a single number, and describe how gradient descent reduces it
  • Say why a straight boundary fails on XOR, and what k-nearest neighbours does instead
  • Choose a classification threshold from the cost of each kind of mistake, not from accuracy alone
  • Test a model honestly: split before fitting, spot leakage, and say how sure a small test score is
  • Cluster unlabelled data with k-means, choose k and the feature scale, and justify the groups
  • Explain an embedding as a position, and read cosine and distance as measurements of it
  • Complete an analogy with vector arithmetic, and explain why direction carries meaning
  • Compute a next-token probability from counts, and explain temperature as reshaping a distribution
  • Describe how one autoregressive model can serve both language and recommendation

Requirements

  • Comfortable with coordinates, a straight line, and reading a graph
  • Able to work with a percentage and a simple average
  • No calculus, no linear algebra and no programming are assumed

Course content

73 lessons · 7h 51m

About the creator