Probability for AI teaches the math language that AI speaks. I'm a section leader in the course, working with top tech minds, researchers, and working professionals from around the world.

After each class I write detailed worked solutions and build a Manim animation that shows the week's ideas moving. Everything lands here, one week at a time.

Video Animations → PDFs →

Read the blog post · About my section

Folder · Stanford Probability for AI

Notes & videos

WEEK 1

Same Prompt, Twice

Why asking an AI the same question twice can give two different answers. Worked solutions on a toy language model: the NOT, OR and AND rules, how many calls it takes before a rare output shows up, and the temperature dial.

WEEK 2

The Palpatine Poll

How do you measure something people will not say out loud? The list experiment, built on Bernoulli and binomial random variables, and what an accuracy number really means on a finite test set.

New weeks are added as the course moves along.

Let's talk

For teaching, research collaboration, or PhD-related conversations, reach out directly.

sohaibhassan199@gmail.com