From NumPy and pandas through visualisation, preprocessing, regression, classification, model evaluation and unsupervised learning, all the way to PyTorch and LLMs. Fifty lessons that take you to the point where you can clean data, build a model, and translate its numbers back into the language of the business. Every output shown is a real result from actually running the code.
The 50 lessons are grouped into seven chapters. Working through them in order is the best way, but you are welcome to dip into whatever interests you. Note: because these lessons use numpy, pandas and scikit-learn, they cannot run in the browser. Use the virtual environment you create in lesson 2, or a Jupyter notebook.
You sort out what machine learning actually automates, set up an environment, and get comfortable with NumPy arrays. Reading shapes and understanding broadcasting are foundations you will use from here on.
Read a CSV, aggregate it, join it, clean up missing values and outliers, and check the result on a chart. You finish by taking 408 rows of messy sales data through all three steps: understand, clean, analyse.
From why you split training and test data, through linear regression, evaluation metrics, scaling and pipelines. You finish by building a complete house price model on data that mixes numeric and categorical features.
From logistic regression through k-nearest neighbours, decision trees, random forests, gradient boosting and SVMs, comparing the main classification tools by measurement. This is also where you learn to spot the cases where accuracy cannot be trusted.
Damp down the noise in your evaluation with cross-validation, choose parameters by search, and deal with overfitting and class imbalance. You finish a churn prediction model by setting its threshold from expected profit.
Group data that has no labels, reduce its dimensions, and find the anomalies. You finish by splitting 1,300 customers into segments and giving each one a name and a plan of action.
You check what is inside a neural network using nothing but NumPy, then write a training loop and a CNN in PyTorch. The chapter closes with text processing, LLMs, saving and deploying models, and a look back over all 50 lessons.
Once you have finished all 50 lessons, learn the server side that runs your models in Linux for Beginners, and how to serve predictions from a web app in Django for Beginners. Membership unlocks every course.