internalsGet Pro

Module 18 · Lesson 15 of 15Pro

Reinforcement learning: decisions learned from rewards

Level
Advanced
Topic
Applied ML problems
Reading time
18 min

When you finish this page you can

  1. Explain why a policy that wins every weekly test can still lose money when this week’s action changes next week’s customer.
  2. Describe a decision problem as states, actions, rewards and transitions, and compute action values with the Bellman equation by hand.
  3. Learn a policy from randomized logs with Q-learning in NumPy, and say why the discount rate is a business choice.
  4. Choose where a policy learns (live, from logs or in a simulator) and how to check it before it reaches every customer.
  1. Supervised, unsupervised and reinforcement learning14 min
  2. Exploration and bandits18 min
  3. Pricing and uplift models18 min
  4. A/B testing ML models17 min

Video lesson · coming soon

The voucher that wins every test

is our example online store. It serves 5 million customers a day and takes 500,000 orders a day. This lesson works with one decision: whether to send a regular customer a ₹50 voucher this week.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan