8 Commits (e31316f8637a7fbd80dd1493b88f2e1ef63503c3)

Author SHA1 Message Date
Elijah Voigt e31316f863 docs(edu): write markov §1 what is a markov chain [fbf323] 3 months ago
Elijah Voigt a75b310129 docs(edu): write markov §5 random walk exercise [64826a] 3 months ago
Elijah Voigt 85d5d3ec2b docs(edu): write markov §8 n-gram generalization exercise [1f995a]
Full Exercise 4 content: setup, starter code, five guided steps
(tokenize + sliding windows, weighted sampling, VecDeque-based
generate, n=1–4 comparison, memorisation vs novelty discussion),
character-level n-gram stretch goal, and reference solution.
3 months ago
Elijah Voigt 09371b9c4a docs(edu): write markov §9 stationary distributions [68ee16]
Replace stub with full prose covering the stationary equation,
long-run frequency interpretation, irreducibility and aperiodicity,
a worked 2×2 analytical solution for the weather chain, and a power
iteration pseudocode + Rust sketch.
3 months ago
Elijah Voigt 0f772edb7a docs(edu): write markov §10 applications and further reading [5994a6]
Survey PageRank, MCMC, HMMs, RL, bioinformatics, queueing theory, and
language models; add annotated reading list and Rust ecosystem pointers.
3 months ago
Elijah Voigt 401ad5f750 docs(edu): write markov §4 weather model exercise [257a2a]
Add full content for Exercise 1 — Weather Model:
- Setup instructions (cargo new, cargo add rand)
- Starter code skeleton with todo!() bodies
- Step-by-step hints: index conversion, weighted random draw,
  simulate loop, running with the 2-state matrix, comparing
  empirical frequencies to the stationary distribution (2/3, 1/3)
- Collapsed reference solution

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 months ago
Elijah Voigt 79c21df6a0 docs(edu): write markov §3 transition probabilities and matrices [44ebe7]
Replaces the stub with full lesson content:
- Defines the transition matrix P[i][j] and stochastic matrix constraints
- Derives multi-step probabilities via π_k = π₀ · P^k
- Works through the 2-state weather chain by hand (1- and 2-step calculations)
- Bridges to §9 stationary distributions
3 months ago
Elijah Voigt 36bf848b63 docs(edu): write markov §6 text generation lesson [92a829]
- Words as states paragraph
- Bigrams and transition tables explanation
- Worked bigram example with two-sentence corpus and transition table
- Why generated text sounds locally plausible but globally incoherent
- Order-n chains and the coherence/novelty tradeoff

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 months ago