Skip to Content
Python Deep Learning - Second Edition
book

Python Deep Learning - Second Edition

by Ivan Vasilev, Daniel Slater, Gianmario Spacagna, Peter Roelants, Valentino Zocca
January 2019
Intermediate to advanced
386 pages
11h 13m
English
Packt Publishing
Content preview from Python Deep Learning - Second Edition

Policy improvements

Once we're able to evaluate a policy, let's look at how to improve it. This task is also known as control. We'll assume that the policy is represented as a table, where the best actions are stored for each state (tabular solution). We'll also assume that we have an already-existing value function,(the step described in the preceding section), and a policy, π. For each state, s, we'll do the following:

  1. Assume that we take all possible actions starting from s. That also includes the action selected by the policy. Using the action-value Bellman equation, for each action we'll compute the expected returns if we take that action ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Deep Learning

Python Deep Learning

Valentino Zocca, Gianmario Spacagna, Daniel Slater, Peter Roelants

Publisher Resources

ISBN: 9781789348460Supplemental Content