liveBook · Manning

Vowpal Wabbit

As explained in Optimization Algorithms: AI techniques for design, planning, and control problems

Vowpal Wabbit is an open-source machine-learning system supporting scalable online learning and contextual bandit algorithms.

Vowpal Wabbit (VW) is an open-source machine-learning library for scalable online learning and contextual multi-armed bandits. Install it with pip and use it to choose actions that maximize rewards for changing contexts. section 12.5

Truck selection

For each delivery route, VW selects a truck size, engine, and tire combination. A multiplicative reward model adds weather and road-condition noise; a test run chooses a medium electric truck with snow tires.

How Optimization Algorithms: AI techniques for design, planning, and control problems covers it

How deep it goes
Works through reward construction, action enumeration, PMF sampling, VW configuration, training, and testing.
Examples
Uses delivery routes, truck sizes, engine types, tire types, noisy rewards, and a 2,500-iteration training loop.
What it assumes
Assumes basic Python and machine-learning familiarity while demonstrating contexts, actions, rewards, PMFs, and bandit feedback.
What you can do after
Apply it via Vowpal Wabbit to train and test a contextual-bandit recommender.
How it connects
Connects contextual multi-armed bandits with reward functions, probability distributions, exploration, and online learning.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Optimization Algorithms: AI techniques for design, planning, and control problems. The section links point to the parts of the book it draws on.