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

Data Science in Stratified Healthcare and Precision Medicine (Coursera) Coursera
University of Edinburgh

Data Science in Stratified Healthcare and Precision Medicine (Coursera)

An increasing volume of data is becoming available in biomedicine and healthcare, from genomic data, to electronic patient records and data collected by wearable devices. Recent advances in data science are transforming the life sciences, leading to precision medicine and stratified healthcare. In this course, you will learn about some of the different types of data and computational methods involved in stratified healthcare and precision medicine.

Oct 5th 2026
5-12 Weeks
Building Trust: Ethics for AI-powered Chatbots (Coursera) Coursera
Coursera Instructor Network

Building Trust: Ethics for AI-powered Chatbots (Coursera)

Many organizations with websites are using chatbots to engage with customers. While this strategy has proved profitable and efficient, there are ethical issues that can arise if users are unaware that their interaction is with an AI bot and not a human. This course will take the learner through the evolution of chatbots, so they are equipped with an appropriate sense of incremental improvements.

Oct 5th 2026
1 Week
Artificial Intelligence and legal issues (Coursera) Coursera
Politecnico di Milano

Artificial Intelligence and legal issues (Coursera)

The purpose of the course is to help students understand the legal implications related to the design and use of artificial intelligence systems, providing an overview of the risks and legal protections that can be envisaged and giving an overview of the legislation and legal principles currently applicable on the subject.

Oct 5th 2026
4 Weeks
Machine Teaching for Autonomous AI (Coursera) Coursera
University of Washington

Machine Teaching for Autonomous AI (Coursera)

Just as teachers help students gain new skills, the same is true of artificial intelligence (AI). Machine learning algorithms can adapt and change, much like the learning process itself. Using the machine teaching paradigm, a subject matter expert (SME) can teach AI to improve and optimize a variety of systems and processes. The result is an autonomous AI system.

Oct 5th 2026
4 Weeks
Get Interactive: Practical Teaching with Technology (Coursera) Coursera
University of London,Bloomsbury Learning Environment

Get Interactive: Practical Teaching with Technology (Coursera)

This course is designed to help you create dynamic, interactive online courses through the use of multimedia tools, student collaboration opportunities, and formative assessment and feedback. Each week we will focus on a particular topic: Using multimedia for teaching and learning; Encouraging student collaboration; Formative assessment and feedback.

Oct 4th 2026
3 Weeks
Teaching Science at University (Coursera) Coursera
University of Zurich

Teaching Science at University (Coursera)

This course will prepare you for teaching science in higher education. In this MOOC you will learn to make your knowledge as an excellent researcher accessible to your students. We will show you how to communicate science to novices as well as advanced students in science.

Oct 12th 2026
5-12 Weeks
Artificial Intelligence for Breast Cancer Detection (Coursera) Coursera
Johns Hopkins University

Artificial Intelligence for Breast Cancer Detection (Coursera)

Through interactive lectures and module exercises, this course illustrates the potential of artificial intelligence in breast imaging. Topics include an introduction of breast cancer and breast imaging, introduction to artificial intelligence in image analysis and computer image processing of cancer detection. The course intends to provide students basic understanding of artificial intelligence approaches to breast cancer detection.

Oct 5th 2026
4 Weeks
Powerful Tools for Teaching and Learning: Digital Storytelling (Coursera) Coursera
University of Houston System

Powerful Tools for Teaching and Learning: Digital Storytelling (Coursera)

Powerful Tools for Teaching and Learning: Digital Storytelling introduces educators to digital storytelling and explores ways to use digital stories to enhance students’ learning experiences. The course is designed to be comprehensive yet fundamental. By comprehensive we mean that the course provides a solid foundation for all of the components of a digital story and illustrates these components with tutorials, example stories, and links to additional readings. The course also provides a hands-on opportunity for learners to create their own digital stories. The course is fundamental because it covers the basic process of creating a digital story starting with just a simple script and as little as one image.

Oct 12th 2026
5-12 Weeks
Introducción al Aprendizaje Universitario (Coursera) Coursera
Pontificia Universidad Católica de Chile

Introducción al Aprendizaje Universitario (Coursera)

Este es un MOOC introductorio al aprendizaje universitario, a través del cual, el estudiante podrá conocer aspectos fundamentales que intervienen en el aprendizaje y rendimiento académico universitario. Representa a la vez una oportunidad para reflexionar sobre el propio quehacer académico como estudiante, así como una instancia para conocer distintas herramientas que promueven mejores prácticas en el contexto del estudio.

Oct 5th 2026
5-12 Weeks
Inclusive Online Teaching Teach-Out (Coursera) Coursera
Johns Hopkins University

Inclusive Online Teaching Teach-Out (Coursera)

In this course, higher education faculty will examine students’ barriers to learning, including unconscious bias, physical impairments, and lack of motivation. Participants will explore and discuss how inclusive pedagogy and Universal Design for Learning (UDL) can help to address those barriers and improve student learning outcomes.

Oct 5th 2026
2 Weeks
Overcoming Dyslexia (Coursera) Coursera
Yale University

Overcoming Dyslexia (Coursera)

Dyslexia is everywhere, touching so many children and adults, and while science has made extraordinary progress in understanding and clarifying the condition, this incredible powerful knowledge rarely reaches those who most need to know and would greatly benefit from it. Our goal is to change all this with the Coursera you are about to view, produced by Dr. Sally Shaywitz, the Audrey G. Ratner Professor in Learning Development, both the leading scientist studying dyslexia and the most devoted advocate for helping those who are dyslexic.

Oct 3rd 2026
5-12 Weeks