AI & ML step-by-step tutorials

Learn machine learning by running the code

A free, hands-on series of Google Colab notebooks that take you from the fundamentals of machine learning to applied network-security use cases. Open any notebook in your browser, run it, and experiment. No setup required.

Notebooks · open in Google Colab

The full series

Tutorial 1

Tutorial for Beginners

Your first steps in machine learning: the workflow, tools and core ideas.

Open in Colab →
Tutorial 2

Data Preprocessing

Cleaning, encoding, scaling and preparing data so your models can learn from it.

Open in Colab →
Tutorial 3

Multiple Linear Regression

Predicting startup success with multiple linear regression, end to end.

Open in Colab →
Tutorial 4

Logistic Regression Visualisation

Building and visualising a logistic regression classifier and its decision boundary.

Open in Colab →
Tutorial 5

Decision Tree Classification

Training, tuning and interpreting decision-tree classifiers.

Open in Colab →
Tutorial 6

Neural Network

Your first neural network: layers, activations, training and evaluation.

Open in Colab →
Tutorial 7

Detecting Anomalies in Network Traffic

Applying ML to spot anomalies in network-traffic data, a core security use case.

Open in Colab →
Tutorial 8

Dimensionality Reduction: PCA, LDA, t-SNE

Reducing and visualising high-dimensional data with PCA, LDA and t-SNE.

Open in Colab →
Tutorial 9

Building an Artificial Neural Network

Constructing a deeper ANN from scratch and training it on real data.

Open in Colab →
Tutorial 10

Normal vs. Malicious Traffic

An AI model that distinguishes normal from malicious network traffic.

Open in Colab →
Go further

Want a guided version for your team?

I run these tutorials as live, hands-on workshops with datasets, exercises and mentorship tailored to your group.

Explore workshops →