Sample-based Learning Methods (Coursera)

Sample-based Learning Methods (Coursera)

In this course, you will learn about several algorithms that can learn near optimal policies based on trial and error interaction with the environment---learning from the agent’s own experience. Learning from actual experience is striking because it requires no prior knowledge of the environment’s dynamics, yet can still attain optimal behavior. We will cover intuitively simple but powerful Monte Carlo methods, and temporal difference learning methods including Q-learning. We will wrap up this course investigating how we can get the best of both worlds: algorithms that can combine model-based planning (similar to dynamic programming) and temporal difference updates to radically accelerate learning.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

By the end of this course you will be able to:

  • Understand Temporal-Difference learning and Monte Carlo as two strategies for estimating value functions from sampled experience
  • Understand the importance of exploration, when using sampled experience rather than dynamic programming sweeps within a model
  • Understand the connections between Monte Carlo and Dynamic Programming and TD.
  • Implement and apply the TD algorithm, for estimating value functions
  • Implement and apply Expected Sarsa and Q-learning (two TD methods for control)
  • Understand the difference between on-policy and off-policy control
  • Understand planning with simulated experience (as opposed to classic planning strategies)
  • Implement a model-based approach to RL, called Dyna, which uses simulated experience
  • Conduct an empirical study to see the improvements in sample efficiency when using Dyna

Course 2 of 4 in the Reinforcement Learning Specialization.

Syllabus

WEEK 1
Welcome to the Course!
Welcome to the second course in the Reinforcement Learning Specialization: Sample-Based Learning Methods, brought to you by the University of Alberta, Onlea, and Coursera. In this pre-course module, you'll be introduced to your instructors, and get a flavour of what the course has in store for you. Make sure to introduce yourself to your classmates in the "Meet and Greet" section!
Monte Carlo Methods for Prediction & Control
This week you will learn how to estimate value functions and optimal policies, using only sampled experience from the environment. This module represents our first step toward incremental learning methods that learn from the agent’s own interaction with the world, rather than a model of the world. You will learn about on-policy and off-policy methods for prediction and control, using Monte Carlo methods---methods that use sampled returns. You will also be reintroduced to the exploration problem, but more generally in RL, beyond bandits.

WEEK 2
Temporal Difference Learning Methods for Prediction
This week, you will learn about one of the most fundamental concepts in reinforcement learning: temporal difference (TD) learning. TD learning combines some of the features of both Monte Carlo and Dynamic Programming (DP) methods. TD methods are similar to Monte Carlo methods in that they can learn from the agent’s interaction with the world, and do not require knowledge of the model. TD methods are similar to DP methods in that they bootstrap, and thus can learn online---no waiting until the end of an episode. You will see how TD can learn more efficiently than Monte Carlo, due to bootstrapping. For this module, we first focus on TD for prediction, and discuss TD for control in the next module. This week, you will implement TD to estimate the value function for a fixed policy, in a simulated domain.

WEEK 3
Temporal Difference Learning Methods for Control
This week, you will learn about using temporal difference learning for control, as a generalized policy iteration strategy. You will see three different algorithms based on bootstrapping and Bellman equations for control: Sarsa, Q-learning and Expected Sarsa. You will see some of the differences between the methods for on-policy and off-policy control, and that Expected Sarsa is a unified algorithm for both. You will implement Expected Sarsa and Q-learning, on Cliff World.

WEEK 4
Planning, Learning & Acting
Up until now, you might think that learning with and without a model are two distinct, and in some ways, competing strategies: planning with Dynamic Programming verses sample-based learning via TD methods. This week we unify these two strategies with the Dyna architecture. You will learn how to estimate the model from data and then use this model to generate hypothetical experience (a bit like dreaming) to dramatically improve sample efficiency compared to sample-based methods like Q-learning. In addition, you will learn how to design learning systems that are robust to inaccurate models.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Ethical Issues in Data Science (Coursera) Coursera
University of Colorado Boulder

Ethical Issues in Data Science (Coursera)

Computing applications involving large amounts of data – the domain of data science – impact the lives of most people in the U.S. and the world. These impacts include recommendations made to us by internet-based systems, information that is available about us online, techniques that are used for security and surveillance, data that is used in health care, and many more. In many cases, they are affected by techniques in artificial intelligence and machine learning.

Oct 26th 2026
5-12 Weeks
Conversations that Inspire: Coaching Learning, Leadership and Change (Coursera) Coursera
Case Western Reserve University

Conversations that Inspire: Coaching Learning, Leadership and Change (Coursera)

Coaching can inspire and motivate people to learn, change and be effective leaders, among other roles in life. Although most attempts are “coaching for compliance” (coaching someone to your wishes or expectations), decades of behavioral and neuroscience research show us that “coaching with compassion” (coaching someone to their dreams and desires) is more effective.

Oct 26th 2026
5-12 Weeks
University Teaching (Coursera) Coursera
University of Hong Kong

University Teaching (Coursera)

University Teaching is an introductory course in teaching and learning in tertiary education, designed by staff at the Centre for the Enhancement of Teaching and Learning at the University of Hong Kong. With input from instructors, guests and interviewees, including teaching award winners, students, and experts in the fields, you will be exposed to research evidence in relation to effective university teaching and practical instructional design strategies. You will also be exposed to multiple examples of effective teaching, and hear the views of teachers whose teaching has been judged to be excellent.

Oct 26th 2026
5-12 Weeks
Google Cloud Product Fundamentals em Português Brasileiro (Coursera) Coursera
Google Cloud

Google Cloud Product Fundamentals em Português Brasileiro (Coursera)

Este curso é uma continuação do "Business Transformation with Google Cloud" e guiará você pela jornada de transformação de uma organização do ponto de vista tecnológico. Explicaremos como as organizações podem fazer a transformação digital usando a tecnologia do Google Cloud nestas categorias: modernização da infraestrutura de TI; melhorias no processo de desenvolvimento dos aplicativos da empresa; uso do machine learning e da inteligência artificial para criar novo valor; a importância de ferramentas de produtividade como o G Suite na realização do trabalho; e compreender as oportunidades e os desafios da gestão do custo que uma infraestrutura de TI na nuvem traz.

Oct 26th 2026
5-12 Weeks
Frontiers in Dentistry (Coursera) Coursera
University of Pennsylvania

Frontiers in Dentistry (Coursera)

In this course, Frontiers in Dentistry, you will be able to explore some of the latest advances in the field of dental medicine. The innovations in therapeutic techniques as well as our understanding of the biomedical sciences have been made possible by our research enterprise which integrates the latest emerging technology along with interdisciplinary collaborations.

Oct 26th 2026
5-12 Weeks
Introduction to Generative AI Studio (Coursera) Coursera
Google Cloud

Introduction to Generative AI Studio (Coursera)

This course introduces Generative AI Studio, a product on Vertex AI, that helps you prototype and customize generative AI models so you can use their capabilities in your applications. In this course, you learn what Generative AI Studio is, its features and options, and how to use it by walking through demos of the product. In the end, you will have a quiz to test your knowledge.

Oct 26th 2026
1 Week
Severe to Profound Intellectual Disability: Circles of Care and Education (Coursera) Coursera
University of Cape Town

Severe to Profound Intellectual Disability: Circles of Care and Education (Coursera)

This course is about caring for and educating children (and youth) with severe to profound intellectual disability. We use the idea of 'circles' to position the child at the center of the many levels of support needed. Around the child are circles of care and education - such as the parents, family, friends, caregivers, educators, health care workers and others such as neighbors, business owners and community members.

Oct 26th 2026
4 Weeks
Code Free Data Science (Coursera) Coursera
University of California, San Diego

Code Free Data Science (Coursera)

The Code Free Data Science class is designed for learners seeking to gain or expand their knowledge in the area of Data Science. Participants will receive the basic training in effective predictive analytic approaches accompanying the growing discipline of Data Science without any programming requirements. Machine Learning methods will be presented by utilizing the KNIME Analytics Platform to discover patterns and relationships in data.

Oct 26th 2026
4 Weeks
Decision Making and Reinforcement Learning (Coursera) Coursera
Columbia University

Decision Making and Reinforcement Learning (Coursera)

This course is an introduction to sequential decision making and reinforcement learning. We start with a discussion of utility theory to learn how preferences can be represented and modeled for decision making. We first model simple decision problems as multi-armed bandit problems in and discuss several approaches to evaluate feedback. We will then model decision problems as finite Markov decision processes (MDPs), and discuss their solutions via dynamic programming algorithms. We touch on the notion of partial observability in real problems, modeled by POMDPs and then solved by online planning methods.

Oct 26th 2026
5-12 Weeks
Designing Learning Innovation (Coursera) Coursera
Politecnico di Milano

Designing Learning Innovation (Coursera)

Where to start to innovate your teaching? But before that, what does it mean to innovate in the classroom? Designing Learning Innovation aims to put the designing culture at the service of learning innovation, supporting those who do not have a specific pedagogical background and those who wish to learn the basic tools of a good teaching design then to continue exploring the frontiers of innovation. A set of logical and methodological tools to innovate teaching, finding the most suitable approaches with one’s own vision of the teaching-learning experience.

Oct 26th 2026
5-12 Weeks
Jugar y Aprender Matemática en aulas heterogéneas (Coursera) Coursera
Universidad Austral

Jugar y Aprender Matemática en aulas heterogéneas (Coursera)

Cuando se asume la enseñanza de la matemática con el compromiso de la participación de todos los alumnos en una comunidad de producción, en la que se resuelven problemas con distintos procedimientos, se comparan producciones, se analiza la validez de las afirmaciones que se hacen, la tarea resulta todo un desafío. En el caso del plurigrado, el desafío parece aún mayor. ¿Cómo presentar problemas que involucren en este trabajo reflexivo a niños y niñas de distintas edades y con distintos conocimientos?

Oct 26th 2026
4 Weeks