S14 Machine learning · Practice
Reinforcement learning
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 9 kinds solid
Check
An agent with discount 0.95 receives a steady reward of 1 per step.
(a)
What is the stream's discounted value?
(b)
What is its effective horizon?
Check
Value iteration runs with discount 0.95.
(a)
How many sweeps shrink the error by a factor of 0.01?
Check
Q(s, a) = 0. The agent receives r = −1 and lands where the best action value is 10; γ = 0.99 and the learning rate is 0.05.
(a)
What is the temporal-difference error?
(b)
What does Q(s, a) become?
Check
A fixed policy earns 1 per step in state 1 and 0 in state 2. It moves from state 1 to 2 with probability 0.3 and from 2 to 1 with probability 0.6; γ = 0.8.
(a)
What is state 1 worth?
(b)
And state 2?
Check
A bandit action has averaged 0.3 over 500 of 100 pulls.
(a)
What is its UCB1 index?
Check
An ε-greedy agent with ε = 0.1 chooses among 2 actions.
(a)
How often does it take the greedy action?
Check
Discounted value of 2 per step at γ = 0.9?
Check
Q-learning: Q = 1, r = 0, max Q′ = 5, α = 0.2, γ = 0.9?
Check
UCB1 index: mean 0.4, 200 of 500 pulls?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S14