Core Ideas Every ML Engineer Knows
Learning types, overfitting, gradient descent, metrics and model families
45 min · interactive lesson with runnable code and 4 graded exercises.
What you'll be able to do
- Tell supervised, unsupervised and reinforcement learning apart
- Explain overfitting and the bias–variance trade-off with a picture
- Describe a loss function and how gradient descent minimizes it
- Pick metrics beyond accuracy, and choose between classical ML, deep learning and LLMs
Three kinds of learning
Supervised, unsupervised, reinforcement
Most industry ML is supervised: you have historical examples with outcomes and want to predict the outcome for new cases.
Overfitting and bias–variance
Memorizing vs learning
A model that's too simple misses the pattern (underfitting, high bias). One that's too flexible memorizes noise (overfitting, high variance): great on training data, worse on new data. Fit polynomials of growing degree and watch the test error:
Loss and gradient descent
How models learn
Training = choosing parameters that make a loss (error) small. Gradient descent repeatedly nudges each parameter opposite to the gradient — downhill. Every neural network trains this way.
Metrics beyond accuracy
Match the metric to the cost
Classical ML, deep learning, LLMs
Pick the right family
How much math?
Enough to reason, not to publish
- Linear algebra: vectors, matrices, dot products — how data and weights are stored and combined.
- Calculus: derivatives and the chain rule — why gradient descent and backpropagation work.
- Probability & statistics: distributions, expectation, Bayes, hypothesis tests — uncertainty and evaluation.
- You don't need proofs; you need to explain these ideas and spot when results don't make sense.