APR-BAY-003 // apr-v2-f32
Beta-Bernoulli Thompson Sampling
Conjugate Bayesian multi-armed bandit balancing exploration and exploitation via posterior probability matching.
Runtime: Loading .apr...
Inference: --
CLI Execution & Inspection
$ apr run thompson-sampling --seed 99 --rounds 1000 $ apr inspect thompson-sampling.apr --verify-sha256
Mathematical Formulation
Conjugate Beta Posterior
Numerical Contract
Cumulative regret bounded by O(sqrt(KT log T)) with deterministic ChaCha20 posterior draws.