Lorsque vous vous inscrivez à ce cours, vous êtes également inscrit(e) à cette Spécialisation.
Apprenez de nouveaux concepts auprès d'experts du secteur
Acquérez une compréhension de base d'un sujet ou d'un outil
Développez des compétences professionnelles avec des projets pratiques
Obtenez un certificat professionnel partageable
Il y a 6 modules dans ce cours
A Markov chain can be used to model the evolution of a sequence of random events where probabilities for each depend solely on the previous event. Once a state in the sequence is observed, previous values are no longer relevant for the prediction of future values. Markov chains have many applications for modeling real-world phenomena in a myriad of disciplines including physics, biology, chemistry, queueing, and information theory. More recently, they are being recognized as important tools in the world of artificial intelligence (AI) where algorithms are designed to make intelligent decisions based on context and without human input. Markov chains can be particularly useful for natural language processing and generative AI algorithms where the respective goals are to make predictions and to create new data in the form or, for example, new text or images. In this course, we will explore examples of both. While generative AI models are generally far more complex than Markov chains, the study of the latter provides an important foundation for the former. Additionally, Markov chains provide the basis for a powerful class of so-called Markov chain Monte Carlo (MCMC) algorithms that can be used to sample values from complex probability distributions used in AI and beyond.
Outside of certain AI-focused examples, this course is first and foremost a mathematical introduction to Markov chains. It is assumed that the learner has already had at least one course in basic probability. This course will include a review of conditional probability and will cover basic definitions for stochastic processes and Markov chains, classification and communication of states, absorbing states, ergodicity, stationary and limiting distributions, rates of convergence, first hitting times, periodicity, first-step analyses, mean pattern times, and decision processes. This course will also include basic stochastic simulation concepts and an introduction to MCMC algorithms including the Metropolis-Hastings algorithm and the Gibbs Sampler.
Welcome to the course! This module contains logistical information to get you started!
Inclus
8 lectures4 laboratoires non notés
Afficher les informations sur le contenu du module
8 lectures•Total 49 minutes
Course Updates and Accessibility Support•1 minute
Earn Academic Credit for Your Work!•10 minutes
Course Support•8 minutes
Assessment Expectations•5 minutes
AI Citation and Acknowledgement•10 minutes
Course Resources and Reading•4 minutes
Coding in Python or R?•8 minutes
What is a "Calculator" Notebook?•3 minutes
4 laboratoires non notés•Total 62 minutes
Introduction to Jupyter Notebooks and R•30 minutes
Introduction to Jupyter Notebooks and Python•30 minutes
Empty R Calculator Notebook•1 minute
Empty Python Calculator Notebook•1 minute
Markov Chains I: The Basics
Module 2•7 heures à terminer
Détails du module
In this module we will review definitions and basic computations of conditional probabilities. We will then define a Markov chain and its associated transition probability matrix and learn how to do many basic calculations. We will then tackle more advanced calculations involving absorbing states and techniques for putting a longer history into a Markov framework!
Inclus
12 vidéos6 devoirs2 devoirs de programmation
Afficher les informations sur le contenu du module
12 vidéos•Total 138 minutes
Introduction to Stochastic Processes•7 minutes
Conditional Probability for Events and Random Variables•14 minutes
"Unraveling" Conditional Probability•12 minutes
Definition of a Markov Chain•13 minutes
Missing Time Steps in a Markov Chain•13 minutes
Conditional Independence•9 minutes
Time Homogeneity and the Transition Probability Matrix•9 minutes
Basic Markov Chain Calculations•11 minutes
The Chapman-Kolmogorov Equations•15 minutes
Absorbing States, Part 1•12 minutes
Absorbing States, Part 2•15 minutes
A Longer History in a Markov Framework•8 minutes
6 devoirs•Total 74 minutes
Quick Check-In•3 minutes
Quick Check-In•5 minutes
Quick Check-In•6 minutes
AI Policy Quiz•5 minutes
Basic Markov Chain Calculations I•25 minutes
Basic Markov Chain Calculations II•30 minutes
2 devoirs de programmation•Total 180 minutes
Introduction to Markov Chains (R)•90 minutes
Introduction to Markov Chains (Python)•90 minutes
Markov Chains II: Limiting Distributions
Module 3•6 heures à terminer
Détails du module
What happens if you run a Markov chain out for a "very long time"? In many cases, it turns out that the chain will settle into a sort of "equilibrium" or "limiting distribution" where you will find it in various states with various fixed probabilities. In this Module, we will define communication classes, recurrence, and periodicity properties for Markov chains with the ultimate goal of being able to answer existence and uniqueness questions about limiting distributions!
Inclus
9 vidéos3 devoirs2 devoirs de programmation
Afficher les informations sur le contenu du module
9 vidéos•Total 122 minutes
Introduction to Limiting Distributions•5 minutes
Communication Classes for a Markov Chain•14 minutes
Classification of States: Recurrence and Transience•16 minutes
Expected Number of Returns to a Transient State•21 minutes
Alternative Characterization of Recurrence and Transience•12 minutes
Recurrence and Transience are Class Properties•9 minutes
The Random Walk•17 minutes
Existence and Uniqueness of the Limiting Distribution•16 minutes
Total Variation Norm Distance Between Distributions•13 minutes
3 devoirs•Total 68 minutes
Quick Check-In•8 minutes
Classification of States•30 minutes
Limiting Distibutions and the Random Walk•30 minutes
2 devoirs de programmation•Total 180 minutes
Limiting Distributions and Classification of States (R)•90 minutes
Limiting Distributions and Classification of States (Python)•90 minutes
Markov Chains III: Stationary Distributions and First-Step Analyses
Module 4•7 heures à terminer
Détails du module
In this Module, we will define what is meant by a "stationary" distribution for a Markov chain. You will learn how it relates to the limiting distribution discussed in the previous Module. You will also spend time learning about the very powerful "first-step analysis" technique for solving many, otherwise intractable, problems of interest surrounding Markov chains. We will discuss rates of convergence for a Markov chain to settle into its "stationary mode", and just maybe we'll give a monkey a keyboard and hope for the best!
Inclus
11 vidéos3 devoirs2 devoirs de programmation
Afficher les informations sur le contenu du module
11 vidéos•Total 150 minutes
Introduction to Stationary Distributions•14 minutes
Finding a Stationary Distribution•12 minutes
"Long-Run Proportion of Time" Questions•9 minutes
Existence and Uniqueness of the Stationary Distribution•24 minutes
Expected Hitting Time•16 minutes
Expected Return Time•12 minutes
Probability of Hitting One State Before Another•8 minutes
Expected Number of Visits to a an Intermediate State•10 minutes
Mean Pattern Times, Part 1•16 minutes
Mean Pattern Times, Part 2•19 minutes
Rate of Convergence to Stationarity: The Eigenvalue Connection•11 minutes
3 devoirs•Total 68 minutes
Quick Check-In•8 minutes
Stationary Distributions and Expected Hitting Times•30 minutes
First Step Analyses and Mean Pattern Times•30 minutes
2 devoirs de programmation•Total 180 minutes
Stationary Distributions and First Step Analysis (R)•90 minutes
Stationary Distributions and First Step Analyses (Python)•90 minutes
Simulation and Markov Chain Monte Carlo Algorithms
Module 5•8 heures à terminer
Détails du module
In this Module we explore several options for simulating values from discrete and continuous distributions. Several of the algorithms we consider will involve creating a Markov chain with a stationary or limiting distribution that is equivalent to the "target" distribution of interest. This Module includes the inverse cdf method, the accept-reject algorithm, the Metropolis-Hastings algorithm, the Gibbs sampler, and a brief introduction to "perfect sampling".
Inclus
13 vidéos2 devoirs2 devoirs de programmation4 laboratoires non notés
Afficher les informations sur le contenu du module
13 vidéos•Total 176 minutes
The Goal of Discrete and Continuous Random Variable Simulation•12 minutes
"Interval Chopping" for Discrete Random Variable Simulation•10 minutes
The Inverse CDF Method•13 minutes
The Accept-Reject Method, Part 1•17 minutes
The Accept-Reject Method, Part 2•11 minutes
Discrete-Time Markov Chains on a Continuous State Space•10 minutes
Reversibility or Detailed Balance•5 minutes
Introduction to the Metropolis-Hastings Algorithm•17 minutes
An Example of the Metropolis-Hasting Algorithm•12 minutes
A Higher-Dimensional Metropolis-Hasting Algorithm Example•17 minutes
Introduction to the Gibbs Sampler•17 minutes
An Example of the Gibbs Sampler•17 minutes
Introduction to Perfect Simulation•20 minutes
2 devoirs•Total 60 minutes
Basic Simulation Algorithms•30 minutes
Markov Chain Monte Carlo Algorithms•30 minutes
2 devoirs de programmation•Total 150 minutes
Monte Carlo Simulation (R)•75 minutes
Monte Carlo Simulation (Python)•75 minutes
4 laboratoires non notés•Total 90 minutes
Checking a Random Number Generator with a Histogram (R)•15 minutes
Checking a Random Number Generator with a Histogram (Python)•15 minutes
Gelman and Rubin's R Statistic (in R)•30 minutes
Gelman and Rubin's R Statistic (in Python)•30 minutes
Reinforcement Learning and Markov Decision Processes
Module 6•3 heures à terminer
Détails du module
In reinforcement learning, an "agent" learns to make decisions in an environment through receiving rewards or punishments for taking various actions. A Markov decision process (MDP) is reinforcement learning where, given the current state of the environment and the agent's current action, past states and actions used to get the agent to that point are irrelevant. In this Module, we learn about the famous "Bellman equation", which is used to recursively assign rewards to various states and how to use it in order to find an optimal strategy for the agent!
Inclus
5 vidéos2 devoirs2 devoirs de programmation4 laboratoires non notés
Afficher les informations sur le contenu du module
5 vidéos•Total 85 minutes
Markov Decision Processes: The Problem and Notation•15 minutes
Rewards and Value Functions•22 minutes
The Bellman Equation•16 minutes
Value Function Computations•12 minutes
Finding the Optimal Policy•19 minutes
2 devoirs•Total 40 minutes
Markov Decision Processes, Part 1•20 minutes
Markov Decision Processes, Part 2•20 minutes
2 devoirs de programmation•Total 60 minutes
Policy Iteration in R•30 minutes
Policy Iteration in Python•30 minutes
4 laboratoires non notés•Total 20 minutes
Example State Value Function Computation in R•5 minutes
Example State Value Function Computation in Python•5 minutes
Example Optimal Policy Calculation in R•5 minutes
Example Optimal Policy Calculation in Python•5 minutes
Obtenez un certificat professionnel
Ajoutez ce titre à votre profil LinkedIn, à votre curriculum vitae ou à votre CV. Partagez-le sur les médias sociaux et dans votre évaluation des performances.
Préparer un diplôme
Ce site cours fait partie du (des) programme(s) diplômant(s) suivant(s) proposé(s) par University of Colorado Boulder. Si vous êtes admis et que vous vous inscrivez, les cours que vous avez suivis peuvent compter pour l'apprentissage de votre diplôme et vos progrès peuvent être transférés avec vous.¹
Consulter les diplômes éligibles
Préparer un diplôme
Ce site cours fait partie du (des) programme(s) diplômant(s) suivant(s) proposé(s) par University of Colorado Boulder. Si vous êtes admis et que vous vous inscrivez, les cours que vous avez suivis peuvent compter pour l'apprentissage de votre diplôme et vos progrès peuvent être transférés avec vous.¹
¹La réussite de la candidature et de l'inscription est requise. Les conditions d'admissibilité s'appliquent. Chaque établissement détermine le nombre de crédits reconnus en complétant ce contenu qui peut compter pour les exigences du diplôme, en tenant compte de tout crédit existant que vous pourriez avoir. Cliquez sur un cours spécifique pour plus d'informations.
CU Boulder is a dynamic community of scholars and learners on one of the most spectacular college campuses in the country. As one of 34 U.S. public institutions in the prestigious Association of American Universities (AAU), we have a proud tradition of academic excellence, with five Nobel laureates and more than 50 members of prestigious academic academies.
Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?
Felipe M.
Étudiant(e) depuis 2018
’Pouvoir suivre des cours à mon rythme à été une expérience extraordinaire. Je peux apprendre chaque fois que mon emploi du temps me le permet et en fonction de mon humeur.’
Jennifer J.
Étudiant(e) depuis 2020
’J'ai directement appliqué les concepts et les compétences que j'ai appris de mes cours à un nouveau projet passionnant au travail.’
Larry W.
Étudiant(e) depuis 2021
’Lorsque j'ai besoin de cours sur des sujets que mon université ne propose pas, Coursera est l'un des meilleurs endroits où se rendre.’
Chaitanya A.
’Apprendre, ce n'est pas seulement s'améliorer dans son travail : c'est bien plus que cela. Coursera me permet d'apprendre sans limites.’
Avis des étudiants
4.5
13 avis
5 stars
69,23 %
4 stars
23,07 %
3 stars
0 %
2 stars
0 %
1 star
7,69 %
Affichage de 3 sur 13
M
MG
4·
Révisé le 8 avr. 2026
Strong mathematical foundation for AI.
More visualizations would make it even more effective.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.