Lessons
230 lessons in ai · page 2 of 10
- AIadvanced
Validation: Measuring Anything at All
Shuffled cross-validation reports 54 percent accuracy on data containing no signal, because neighbouring samples share their futures. This lesson builds purging, embargo and sample uniqueness weights, shows the illusion scaling with label overlap and vanishing when the fix is applied, and covers why a single walk-forward path is weak evidence.
10 steps·~15 min - AIadvanced
Features: Stationarity Without Erasing the Memory
Prices are non-stationary and returns are stationary but forget everything, so the standard fix throws away the level information a model needed. This lesson builds fractional differentiation, which makes the choice a dial rather than a switch, and shows by computation that most of the memory can be kept while still passing a stationarity test.
10 steps·~15 min - AIadvanced
Labelling: Deciding What You Are Actually Predicting
The default label, the sign of the return over a fixed horizon, describes a trade nobody would take: no stop, no target, and a holding period chosen by the modeller rather than by the market. This lesson builds the triple-barrier method and meta-labelling, and shows with computed numbers how much of a fixed-horizon dataset is fiction.
10 steps·~15 min - AIadvanced
Why Standard Machine Learning Fails on Market Data
Machine learning practice assumes independent samples, a stable data-generating process, and an environment that does not react to you. Financial data violates all three, and the result is models that validate beautifully and lose money. This lesson establishes what is actually broken before the rest of the course fixes it.
10 steps·~15 min - AIintermediate
Memory, Identity, and Seeing What the Agent Did
Three services decide whether an agent survives contact with production: what it remembers between sessions, whose authority it acts with when it calls your systems, and whether you can reconstruct what it did after the fact. This lesson covers AgentCore Memory, Identity and Observability, and the delegation problem that makes agent authentication genuinely different.
7 steps·~11 min - AIintermediate
Gateway, Tools, and the M by N Problem
An agent is only as useful as the things it can do, and connecting many agents to many tools is a multiplication problem that gets expensive fast. This lesson covers what AgentCore Gateway converts into tools and how, the semantic search that stops tool overload, the two directions of authentication, and the managed sandboxes for code and browsing.
7 steps·~11 min - AIintermediate
Running an Agent: Runtime, Harness, and Session Isolation
An agent is a loop that runs for minutes, holds state, executes code it just wrote, and must not leak anything into the next user's session. This lesson covers what AgentCore Runtime provides that a container does not, why session isolation is the load-bearing guarantee, and where the managed Harness sits against bringing your own loop.
7 steps·~11 min - AIintermediate
Bedrock: One Door to Many Models
Amazon Bedrock's pitch is that model choice becomes a configuration value instead of a rewrite. This lesson takes that claim apart: the four API dialects Bedrock exposes over the same models, what the unified Converse API actually normalises, what it cannot normalise, and the inference and governance machinery that decides cost and blast radius.
7 steps·~11 min - AIintermediate
Feedback Loops: The Model Trains on Clicks It Caused
A deployed recommender chooses its own future training data: it shows items, users respond to what was shown, and those responses become the next model's ground truth. This lesson maps the loop's consequences, exposure bias, popularity compounding, narrowing candidate pools, explains why offline metrics reward imitation of the loop, and covers the exploration budget that keeps the system learning.
7 steps·~11 min - AIintermediate
Ranking and Objectives: What Should the Model Optimise?
The ranker is a prediction machine, and the hard question is what it should predict. Clicks are plentiful and poisonous, watch time bends toward length, likes are rare and unrepresentative. This lesson covers implicit feedback, the position bias baked into every training log, multi-objective ranking, and calibration.
7 steps·~11 min - AIintermediate
Two Towers: How Taste Becomes Geometry
Candidate generation's workhorse is the two-tower model: one network embeds users, another embeds items, and relevance becomes a dot product in shared space. This lesson traces the idea from collaborative filtering through matrix factorization to trained towers, why the towers must never mix features, and the cold-start problem geometry alone cannot solve.
7 steps·~11 min - AIintermediate
The Two-Stage Machine: Why No Model Ranks the Whole Catalogue
A recommender has milliseconds to pick ten items from millions, and no model good enough to rank them all is cheap enough to run on them all. The industry's answer is a funnel: cheap candidate generation cuts millions to hundreds, an expensive ranker orders those hundreds. This lesson builds that architecture, its latency arithmetic, and the multi-source retrieval layer real systems run.
7 steps·~11 min - AIintermediate
Monitoring, Drift, and When to Retrain
A model that has stopped working returns answers with the same confidence as one that still does. This lesson covers the difference between data drift and concept drift, what to monitor when labels arrive months late, the triggers that should start a retraining run, and the cases where retraining is the wrong response.
10 steps·~15 min - AIintermediate
Features, Feature Stores, and Training-Serving Skew
The most common way a good model fails in production is that the features it is served differ from the ones it was trained on. This lesson covers where that divergence comes from, why point-in-time correctness is harder than it looks, what a feature store actually solves, and when you do not need one.
9 steps·~14 min - AIintermediate
The Three Levels of MLOps Automation
Google's MLOps guidance describes three maturity levels, from a fully manual handoff to a pipeline that tests and deploys itself. This lesson covers what is automated at each level, the six stages of an ML CI/CD pipeline, and why level 2 is the wrong target for most teams.
9 steps·~14 min - AIintermediate
Why ML Systems Rot
A trained model is a small box inside a large system, and the system is what decays. This lesson covers the failure modes that are specific to machine learning: why changing one feature moves every weight, why hidden consumers break silently, and why data dependencies cost more than code dependencies.
9 steps·~14 min - AIintermediate
Evaluation, and Closing the Loop
An aggregate metric tells you a model is worse than you hoped and nothing about why. Evaluation that writes results back onto each sample turns a number into a set of images you can look at. This lesson covers the evaluation methods and their protocols, per-sample true and false positive counts, how a confusion matrix cell becomes a view, and where this workflow stops.
8 steps·~12 min - AIintermediate
The Brain: Computing Fields Worth Querying
A query can only ask about what is recorded, so the harder half of curation is generating fields that surface where to look. This lesson covers the analysis methods FiftyOne bundles as the Brain: embedding visualisation and its four reduction methods, uniqueness and representativeness, mistakenness and hardness, and similarity indexes for near-duplicate detection and text search.
8 steps·~12 min - AIintermediate
Views: Turning a Question Into a Query
A view is a filtered, sorted or sliced window onto a dataset, built by chaining stages and computed lazily without touching the underlying data. This lesson covers what that buys, the distinction between filtering samples and filtering the labels inside them that catches nearly everyone, how views compose with the App and with evaluation, and when a view should be turned into a real subset.
8 steps·~12 min - AIintermediate
The Case for Looking at Your Data
Most computer vision projects are limited by their dataset rather than their architecture, and most teams cannot see their dataset. This lesson covers why a tool for inspecting visual data exists, the data model FiftyOne uses to make a dataset queryable rather than a folder of files, why it sits on a database, and where curation fits against annotation and experiment tracking.
9 steps·~14 min - AIadvanced
End to End: What the Cascade Throws Away
Speech in, text, model, text, speech out is the standard architecture and it discards everything not in the words: emphasis, emotion, hesitation, overlap. End-to-end models keep it by never routing through text, and pay with a token rate roughly 185 times higher and far less training data. This lesson covers the trade, and why interleaving is the pragmatic answer.
9 steps·~14 min - AIadvanced
Synthesis: Why Three Seconds Is Enough to Clone a Voice
Once audio is a sequence of tokens, generating speech becomes the same shape of problem as generating text, and the whole language modelling toolkit transfers. That reframing produced zero-shot voice cloning from about three seconds of audio. This lesson covers the codec language model approach, why so little reference suffices, the flow-matching alternative, and what the capability implies.
9 steps·~14 min - AIadvanced
Recognition: Three Ways to Solve the Alignment Problem
Speech recognition's hard problem is that audio and text have different lengths and nobody labelled which frame goes with which letter. CTC, RNN-T and attention encoder-decoders are three answers, and which one a system uses decides whether it can stream. This lesson covers all three, why Whisper's weak supervision worked, and the failure that follows from a recogniser containing a language model.
9 steps·~14 min - AIadvanced
Turning Sound Into Tokens
Before a model can process speech it has to be discretised, and audio resists that harder than text does. This lesson covers why raw waveforms are the wrong representation, how neural audio codecs learn a discrete one, what residual vector quantization actually does, and the arithmetic that governs every speech model: a minute of talking is around 195 text tokens or 36,000 audio tokens.
9 steps·~14 min

