Core
Multi-Armed Bandits
A bandit is online decision-making under uncertainty: you have several options (arms), each with an unknown payoff, and every choice both earns a reward and teaches you something. The tension is explore versus exploit: try uncertain arms to learn, or pull the current best to win. Epsilon-greedy, UCB, and Thompson sampling balance that tradeoff; contextual bandits pick per request using features. Unlike a fixed A/B test, a bandit shifts traffic toward winners as it learns, cutting the cost of running a loser.
a free account unlocks the core curriculum tier · no card
Related concepts
Practise this in questions
ML System Design (Product)Design a music recommendation system (Spotify-style). →hard · FreeML System Design (Product)Design the 'For You' ranking system for a short-video feed. →hard · Free with sign-inSystem Design & Production EngineeringDecompose: design a system to route a fleet of delivery trucks. →hard · Free with sign-inLLM & GenAI FundamentalsThe customer's LLM bill is unsustainable. Cut costs 10x without destroying quality. Walk me through it. →hard · PremiumLLM & GenAI FundamentalsDesign a multi-model router or cascade that cuts cost without dropping below a quality floor. →hard · PremiumMachine Learning & Data ScienceRoute each request to a cheap 7B or expensive 70B model to maximize satisfaction minus cost. Design the online router. →hard · Premium
