Examples#
Worked examples as Jupyter notebooks.
- Comparing Bayesian Approaches to Disjoint Linear Bandits
- Hybrid vs Disjoint Contextual Bandits with LipschitzContextualAgent
- Key Concepts
- Block Sparse Hybrid Bandits = Disjoint Bandits
- Content Personalization Example: Partial Feature Sharing
- Define true reward model
- Approach 1: Disjoint Bandits
- Approach 2: Hybrid Bandits with LipschitzContextualAgent
- Running the Comparison Experiment
- Analyzing the Results
- Examining Learned Parameters
- Computational Efficiency and Production Scale Considerations
- Empirical Bayes for Automatic Hyperparameter Tuning
- Adversarial Bandits: Playing Rock-Paper-Scissors Against an Exploitative Opponent
- Delayed and non-stationary multi-armed bandit problems
- Offline learning with a loan pricing example