Learn machine learning: 20 free interactive lessons
Short lessons where models train live in your browser: regression, gradient descent, overfitting, nearest neighbours, logistic regression, trees, neural networks, clustering and responsible ML.
Do it in the browser: a real machine learning tool, a short mission and instant feedback. No install. Optional certificate at the end of the course.
Open the courseLessons
- Learning from examplesWhat is machine learning?
- Features and labelsWhat is machine learning?
- Training and test dataWhat is machine learning?
- Measuring error: the lossWhat is machine learning?
- Linear regressionThe simplest model: the best straight line through the data.
- Gradient descentHow training actually works: small steps downhill on the loss.
- OverfittingA model flexible enough to fit everything also fits the noise.
- Feature scalingPut features on comparable scales so distances and gradients make sense.
- k-nearest neighboursClassify a new point by asking its closest neighbours to vote.
- Logistic regressionA straight border and a probability for each side.
- Decision treesA flowchart of yes/no questions learned from the data.
- Accuracy is not enoughConfusion matrix, precision, recall and choosing a threshold.
- The perceptronOne artificial neuron: weigh the inputs, add them up, fire or not.
- Hidden layersCombining neurons bends the border. That is all a neural network is.
- Training a networkBackpropagation, epochs and watching the loss curve.
- Choosing a modelSame data, four models, four borders. How to pick?
- k-meansFind k groups by alternating two simple steps.
- When clustering goes wrongk-means assumes round, similar-sized groups. Real data do not always agree.
- Biased data, biased modelsA model learns whatever is in the data, including who is missing from it.
- From data to a working modelThe full workflow, and why most of the work is not the model.