Bayesian Bandits

Implement Thompson sampling for multi-armed and contextual bandits. Use when the user wants to adaptively allocate traffic across variants (ads, recommendations, content, pricing) to minimize regret instead of running a fixed-allocation A/B test. Covers Bernoulli bandits, contextual bandits, regret analysis, and comparison with epsilon-greedy and UCB.

brojonat 304b831 3 files · 933.4 KB Updated

File contents

brojonat/llmsrules/tree/main/skills/bayesian-bandits commit 304b831da2

Frequently asked questions

npx skillmds@latest add brojonat/bayesian-bandits