3 Commits (401ad5f7501409cc226609ffa0265d1ee63feefc)

Author SHA1 Message Date
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