Braj Kishore
JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
Say hi

Hiring · Building · Investing

Have a system — or a team —that needs to scale?

info@avyxon.ai

Usually replies within a day · track record here

JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
LinkedInXYouTubeSubstackInstagramThreadsFacebookDiscordGitHubTopmate
© 2026 Braj Kishore · Bengaluru, INThink Big · Start Small · Scale Fast

Pre-series · Machine Learning Foundations

How machine learning actually works

A deep-dive, build-it-in-your-head tutorial series on the fundamentals underneath every GenAI system — the training loop, the four architectures, and the bottleneck each one was invented to break. Fifteen lessons, twenty interactive simulators and diagrams, and the questions an interviewer will actually ask, with the answer they're listening for.

Written for engineers who can code but were never walked through the maths, and for anyone about to be asked 'explain backpropagation' at a whiteboard. No prior ML required; comfort with a for-loop and a bit of algebra is enough.

Start with Lesson 01See all fifteen lessonsStraight to the interview gauntlet

≈ 12 focused hours · four tracks · finish with the interview gauntlet

Every GenAI course starts at the transformer. This one starts at the gradient.

The layer that doesn't move

Frameworks and model names turn over every eighteen months. Gradients, loss surfaces and the bias–variance trade-off have been stable since the 1980s and explain why every new thing works.

Interviews test this, not the API

Nobody asks which SDK you used. They ask why cross-entropy rather than MSE, what √dₖ is for, and what you'd do about 99% train / 70% validation. Every lesson ends with those, answered.

Debugging is a fundamentals skill

Loss went NaN, validation flat, the model is confidently wrong. Every one of those is diagnosable from first principles and unguessable without them.

Start here

The whole field, as a list of removed bottlenecks

Told as a list of wins, the history of ML is a series of surprises. Told as a list of walls and what broke them, it's one argument repeated at increasing scale.

Seventy years, told as bottlenecks
What changed
1950Computing Machinery and Intelligence1958The Perceptron1959Samuel's checkers player1969Perceptrons — the XOR limit1986Backpropagation popularised1997LSTM1997Deep Blue beats Kasparov2012AlexNet wins ImageNet2014Attention for translation2015ResNet — 152 layers2016AlphaGo beats Lee Sedol2017Attention Is All You Need2020GPT-3 and scaling laws2021CLIP — one space for pixels and words2022Chinchilla — the correction2023Tool use and the agent loop
2012More dataMore computeNew idea

AlexNet wins ImageNet

Krizhevsky, Sutskever & Hinton

The wall

Hand-engineered visual features had plateaued at ~26% top-5 error.

What it proved

That a deep CNN trained on 1.2M labelled images with two consumer GPUs, ReLU and dropout cut error to ~15% — and that scale, not cleverness, was the binding constraint all along.

Read the primary source

Every milestone removed a specific wall. Filter by what actually changed and the shape of the field's progress stops looking like a series of surprises.

Twenty things you can break

Not illustrations — simulators. The neuron really runs gradient descent, the XOR network really fails without a hidden layer, and the backprop trace really re-derives every partial when you move a slider.

Cited where the claim is made

88 sources — the original papers, the canonical explainers, the interactive tools — sitting under the paragraph they support rather than in a pile at the end.

Written for the whiteboard

Every lesson ends with the questions this topic actually produces in an interview, the answer that lands, and what the interviewer is listening for underneath it.

The curriculum

Four tracks, fifteen lessons

Your progress0 / 15

Saved on this device only — no account, nothing leaves the browser.

Track 1

Rules → Learning

Why hand-written logic hit a wall, what replaced it, and how to tell which kind of problem you actually have.

From 'the programmer supplies the logic' to 'the programmer supplies the examples'.

  • 01From rules to learning45 minWhy hand-written logic beat the world chess champion and still couldn't recognise a cat — and the exact moment to reach for learning instead.rules-vs-learningml-timeline
  • 02Framing a learning problem50 minSupervised, unsupervised, self-supervised and reinforcement — plus the data split discipline that decides whether your numbers mean anything.paradigm-sorterleakage-lab
Track 2

The training loop

One neuron, one loss, one gradient, one update — the four-beat loop that every model on earth is running, from a house-price regressor to a frontier LLM.

Predict → measure the error → assign blame → nudge the parameters. Repeat a few billion times.

  • 03One neuron45 minWeights, bias and activation — the three-part unit that every network is a pile of, and the reason a pile of linear layers is still just one linear layer.neuron-labactivation-zoo
  • 04Measuring wrongness40 minLoss functions turn 'that answer was bad' into a number with a gradient — and the one you pick decides what the model considers a mistake.loss-lab
  • 05Gradient descent55 minThe algorithm that does the learning: read the slope, step downhill, repeat — and the one hyperparameter that decides whether it converges or explodes.gradient-lab
  • 06Backpropagation60 minOne number of error, a million weights to blame. The chain rule on a computation graph solves credit assignment for the price of one extra forward pass.backprop-tracetraining-loop-sequence
  • 07Fit & generalisation50 minOverfitting, the bias–variance trade-off, and the regularisation toolkit — how to tell which problem you have from the learning curves alone.bias-variance-lab
  • 08Evaluation that survives production55 minThe accuracy trap, the confusion matrix, precision/recall trade-offs, ROC vs PR, calibration — and why the threshold is a product decision, not a model property.confusion-lab
Track 3

Architectures & the walls they broke

ANN → CNN → RNN → Transformer, told as a sequence of bottlenecks. Each architecture exists because the previous one couldn't see space, time or context.

Every architecture is an inductive bias — a guess about the structure of the data, baked into the wiring.

  • 09Feed-forward networks (ANN / MLP)45 minThe general-purpose function fitter: what universal approximation does and doesn't promise, why XOR needs a hidden layer, and the three walls that forced everything after it.xor-labarch-compare
  • 10Convolutional networks (CNN)55 minExploiting structure in space: kernels, stride, padding, parameter sharing and the feature hierarchy — plus what AlexNet actually proved in 2012.convolution-lab
  • 11Recurrent networks (RNN, LSTM, GRU)50 minAdding time: hidden state as memory, backprop through time, why gradients vanish over long sequences, and the gating that bought another few hundred timesteps.sequence-memory-lab
  • 12Transformers & self-attention70 minQuery, key, value; why the √dₖ is there; multi-head, positional encoding and the O(n²) bill — the architecture every modern model is built from.attention-lab
Track 4

The bridge to GenAI

How a transformer became an LLM, how pixels and words ended up in one space, and where every fundamental you just learned shows up in an agent.

Nothing new is invented here. Scale, self-supervision and a loop around the model do the work.

  • 13How a transformer becomes an LLM55 minSelf-supervised next-token prediction, scaling laws and the Chinchilla correction, then the post-training that turns a text predictor into an assistant.scaling-lab
  • 14Multimodal: one space for pixels and words40 minHow CLIP put images and captions in the same vector space and got zero-shot classification for free — and how diffusion learned to generate by reversing noise.clip-lab
  • 15From model to agent40 minA model is a function; an agent is a loop around it with tools, memory and a stopping condition — and every fundamental from Track 2 decides whether it works.fundamentals-map

The map of Track 3

Every architecture is a guess about your data

Get the guess right and you need far less data. Get it wrong and you spend the project fighting your own model.

Four architectures, four bottlenecks
ANN / MLP1958 →can't see spaceCNN1989 · 2012can't see timeRNN / LSTM / GRU1986 · 1997too slowTransformer2017 →weaker inductive bias, more data required →

Best data type

Text at scale, and increasingly everything else

Core mechanism

Self-attention: every position attends to every position in one operation

Inductive bias — what it assumes

Deliberately weak — barely more than 'these tokens form a set, and here is their position'. It substitutes data for assumptions.

Primary advantage

Path length 1 between any two positions, so long-range dependencies are as learnable as short ones — and every position computes independently, so training parallelises and throughput scales with hardware.

The wall it runs into

O(n²) compute and memory in sequence length, and generation is still sequential because token t+1 needs token t. Weak inductive bias means it needs a great deal of data.

Where it still wins in 2026

Everything at scale — language, vision, audio, multimodal. The default unless you have a specific reason otherwise.

Architecture is inductive bias. Reading the row above left to right, the assumptions get weaker: an MLP assumes nothing, a CNN assumes locality, an RNN assumes order, and a transformer assumes barely more than "a set of positioned tokens". Weaker assumptions mean more flexibility and more data required to make up for what you didn't assume — which is precisely why transformers overtook CNNs on vision only once the datasets got large enough, and why a CNN can still be the better choice on ten thousand images.

Read it left to right as a chain of consequences: each architecture exists because the previous one couldn't see something — space, then time, then long-range context.

The whole series, as recall practice

45 cards drawn from every lesson. If you can answer these cold, you can hold a fundamentals interview without preparing for it.

ML Foundations · full deck1 / 45

State the difference between classical programming and ML in one sentence.

From rules to learning

The interview gauntlet

Where this leads

This is the pre-series. Once the training loop is physical to you, the GenAI material stops being a vocabulary test and starts being engineering.

The AI Product Manager GuideProduction case studies