All lessons
All 50 lessons in the recommended order. Combine the filters to find what you need. Every lesson has a Python and a C# example.
-
Part 1Beginner60 min
What AI, machine learning, deep learning and generative AI are
Explain the difference between AI, machine learning, deep learning, generative AI and large language models, and name the four ways machines learn.
-
Part 1Beginner75 min
How an AI or ML project runs from idea to production
Walk through the full project lifecycle (problem, data, baseline, model, evaluation, deployment, monitoring) and run every step on a small example.
-
Part 1Beginner1.5 h
Set up your laptop for AI and ML in Python and .NET
Install and check a Python and a .NET environment for AI work, run notebooks, use Git, and understand when you need a GPU.
-
Part 2Beginner60 min
Data basics: types, features, labels and splits
Recognise the main kinds of data, tell features from labels, and split data into training, validation and test sets.
-
Part 2Beginner1.5 h
Collecting and labelling data, with SQL
Pull training data from a database with SQL, plan where data comes from and whether you may use it, and measure how consistently people label it.
-
Part 2Beginner1.5 h
Cleaning and exploring data
Find and fix duplicates, missing values, impossible values and messy categories, and explore data with summaries and charts before modelling.
-
Part 2Intermediate1.5 h
Feature engineering: turning raw data into model inputs
Encode categories, scale numbers, create useful features from dates and text, and avoid data leakage by using pipelines.
-
Part 3Beginner75 min
How a model learns: loss, training and overfitting
Explain what a model, parameters and a loss are, how training reduces the loss step by step, and how to spot overfitting and underfitting.
-
Part 3Beginner75 min
Regression: predicting a number
Train regression models that predict numbers, judge them with MAE, RMSE and R², and choose the right model complexity.
-
Part 3Beginner75 min
Classification: picking a category
Train a classifier, read its probabilities and confusion matrix, and choose a decision threshold that fits the business.
-
Part 3Intermediate1.5 h
The main ML algorithms and when to use each
Explain in plain words how linear models, k-nearest neighbours, decision trees, random forests, gradient boosting, support vector machines and naive Bayes work, and choose between them.
-
Part 3Intermediate75 min
Unsupervised learning: groups, compression and anomalies
Group similar items with clustering, compress many columns with PCA, and flag unusual records with anomaly detection, all without labels.
-
Part 3Intermediate1.5 h
Measuring models honestly
Choose the right metric for the problem, use cross-validation, read ROC and precision-recall results, and handle rare classes with thresholds and class weights.
-
Part 3Intermediate1.5 h
Improving and explaining models
Tune hyperparameters with grid, random and automated search, reduce overfitting with regularisation and ensembles, and explain predictions with feature importance and Shapley values.
-
Part 3Intermediate75 min
Time-series forecasting
Forecast values over time with trend and seasonality, beat simple baselines, and always test on the future.
-
Part 3Intermediate75 min
Recommender systems
Build a collaborative-filtering recommender with matrix factorisation, compare it with simple baselines, and list the real-world issues (cold start, ranking, diversity).
-
Part 4Intermediate1.5 h
Neural networks in plain words
Explain neurons, layers, activations and backpropagation in plain words, and train a small network in Python and C#.
-
Part 4Intermediate1.5 h
Training deep networks well
Use batches, epochs, learning rates, optimisers, dropout, normalisation, early stopping, checkpoints and GPUs to train networks reliably.
-
Part 4Intermediate1.5 h
Computer vision: classification, detection and segmentation
Explain convolutional networks, transfer learning, object detection, segmentation and vision transformers, and run a trained vision model from Python and C#.
-
Part 4Intermediate75 min
Text and sequences: tokens, embeddings and RNNs
Explain how text becomes numbers (tokens and embeddings), how word vectors capture meaning, and how recurrent networks process sequences and why transformers replaced them.
-
Part 4Intermediate1.5 h
Transformers and attention
Explain attention with queries, keys and values, the parts of a transformer block, and the three transformer families (encoder, decoder, encoder-decoder).
-
Part 4Advanced75 min
Generative models: autoencoders, GANs and diffusion
Explain how autoencoders, variational autoencoders, GANs and diffusion models create new data, and when industry uses each.
-
Part 4Advanced60 min
Speech and audio: recognition and text-to-speech
Explain how audio becomes features, how speech recognition and text-to-speech work, and measure transcription quality with word error rate.
-
Part 4Advanced75 min
Reinforcement learning
Explain agents, actions, rewards and policies, implement Q-learning and a policy-gradient agent, and connect reinforcement learning to how chat models are tuned.
-
Part 4Advanced60 min
Graph neural networks: learning from connections
Represent data as nodes and edges, explain message passing, and classify nodes from very few labels using their neighbours.
-
Part 5Intermediate75 min
How large language models work
Explain pretraining, next-token prediction, context windows, instruction tuning, open-weight versus hosted models, and why LLMs sometimes make things up.
-
Part 5Intermediate60 min
Tokens and sampling settings
Explain how tokenisers split text, why tokens drive cost and limits, and how temperature and top-p change generated text.
-
Part 5Advanced75 min
Designing a language model
Choose tokeniser, vocabulary, width, depth, heads and context length for a model, estimate its size and memory, and plan experiments.
-
Part 5Advanced2 h
Train a small language model on your laptop
Train a character-level language model end to end on a laptop, read training and validation loss, save and reload checkpoints, and run the same loop as a tiny transformer.
-
Part 5Expert1.5 h
From laptop to big hardware: scaling training
Estimate memory for training and inference, and choose the right scaling tools (GPUs, mixed precision, gradient accumulation and checkpointing, data and model parallelism, FSDP) as models grow.
-
Part 5Advanced1.5 h
Fine-tuning: SFT, LoRA, QLoRA and preference tuning
Decide between prompting, RAG and fine-tuning, prepare instruction data, and fine-tune an open model with LoRA or QLoRA, then compare it fairly with the base model.
-
Part 5Intermediate75 min
Running language models on your own machine
Run an open-weight model locally, understand quantization and memory needs, and call the local model from Python and .NET through the same interfaces used for hosted models.
-
Part 5Advanced60 min
Evaluating language models
Evaluate language models with perplexity, benchmarks and your own task tests, and avoid contamination and misleading comparisons.
-
Part 6Beginner75 min
Calling an LLM from your application
Call a language model from Python and C#, request structured JSON, validate it, handle failures, stream answers and control cost.
-
Part 6Beginner60 min
Prompt engineering that works in production
Write clear prompts with roles, rules, delimiters, examples and output formats, keep prompts versioned, and test them with a small evaluation set.
-
Part 6Intermediate75 min
Embeddings and vector search
Explain embeddings, find similar text by cosine similarity, and store and search vectors in a vector database from Python and C#.
-
Part 6Intermediate2 h
RAG: answering from your own documents
Build a retrieval-augmented generation (RAG) system that checks permissions, retrieves evidence, answers with citations, says "I don't know" when evidence is missing, and is measured with an evaluation set.
-
Part 6Advanced1.5 h
Advanced RAG: chunking, hybrid search, re-ranking and evaluation
Improve RAG quality with better chunking, hybrid keyword-plus-vector search, reciprocal rank fusion, re-ranking, query rewriting and metadata filters, and measure each change.
-
Part 6Advanced2 h
Tools and agents with human approval
Let a model call tools safely, design an agent workflow with explicit state, permission checks, human approval, retries, idempotency and an audit trail, in Python and C#.
-
Part 6Intermediate60 min
AI frameworks and MCP: what to use in Python and .NET
Know what LangChain, LangGraph, Microsoft.Extensions.AI, Semantic Kernel, Microsoft Agent Framework and the Model Context Protocol do, and when plain code is better.
-
Part 6Intermediate60 min
Multimodal AI apps: images, documents and voice
Send images and documents to vision-capable models, build image-and-text search, and add speech input and output to an application.
-
Part 6Intermediate75 min
Evaluating AI applications
Build an evaluation set, write automatic checks, use an LLM as a judge carefully, detect hallucinations, and compare versions with A/B tests.
-
Part 6Advanced75 min
Security for AI applications
Recognise the main risks to LLM applications (prompt injection, data leakage, excessive agency and others), apply layered defences, and redact personal data before it reaches a model.
-
Part 6Intermediate60 min
Responsible AI: fairness, privacy, transparency and oversight
Measure fairness between groups, protect privacy, explain decisions, keep people in control, and document models with model cards and risk registers.
-
Part 6Advanced60 min
"Generative AI and Agentic AI: the whole picture"
Explain in simple words what generative AI and agentic AI are, how they differ and work together, and decide when a task needs one, the other, both, or neither.
-
Part 7Intermediate1.5 h
Serving a model as an API
Turn a saved model into a web API that loads the model once, validates input, returns a versioned answer and reports its health, in Python and in ASP.NET Core.
-
Part 7Advanced1.5 h
"MLOps: versioning, pipelines and safe releases"
Make model training repeatable and releases safe by versioning data, code and models, recording metrics in a registry, and promoting a new model only when it passes a gate.
-
Part 7Advanced75 min
Monitoring models and AI apps in production
Watch a live model or LLM app for data drift, falling quality, latency and cost, and decide when to alert, retrain or roll back.
-
Part 7Advanced75 min
Speed, cost and scaling
Make models and LLM apps faster and cheaper with batching, caching, smaller models, quantisation and ONNX export, and know when to add more machines or GPUs.
-
Part 7Expert2 h
Production architecture for AI systems
Design a complete AI system (a .NET application calling a Python model service and an LLM), with containers, secrets, fallbacks, security and a clear checklist, so you can plan any industry case.
No lessons match these filters.