Wenn Sie sich für diesen Kurs anmelden, werden Sie auch für diese Spezialisierung angemeldet.
Lernen Sie neue Konzepte von Branchenexperten
Gewinnen Sie ein Grundverständnis bestimmter Themen oder Tools
Erwerben Sie berufsrelevante Kompetenzen durch praktische Projekte
Erwerben Sie ein Berufszertifikat zur Vorlage
In diesem Kurs gibt es 6 Module
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!
Das ist alles enthalten
8 Lektüren4 Unbewertete Labore
Infos zu Modulinhalt anzeigen
8 Lektüren•Insgesamt 49 Minuten
Course Updates and Accessibility Support•1 Minute
Earn Academic Credit for Your Work!•10 Minuten
Course Support•8 Minuten
Assessment Expectations•5 Minuten
AI Citation and Acknowledgement•10 Minuten
Course Resources and Reading•4 Minuten
Coding in Python or R?•8 Minuten
What is a "Calculator" Notebook?•3 Minuten
4 Unbewertete Labore•Insgesamt 62 Minuten
Introduction to Jupyter Notebooks and R•30 Minuten
Introduction to Jupyter Notebooks and Python•30 Minuten
Empty R Calculator Notebook•1 Minute
Empty Python Calculator Notebook•1 Minute
Markov Chains I: The Basics
Modul 2•7 Stunden abzuschließen
Moduldetails
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!
Das ist alles enthalten
12 Videos6 Aufgaben2 Programmieraufgaben
Infos zu Modulinhalt anzeigen
12 Videos•Insgesamt 138 Minuten
Introduction to Stochastic Processes•7 Minuten
Conditional Probability for Events and Random Variables•14 Minuten
"Unraveling" Conditional Probability•12 Minuten
Definition of a Markov Chain•13 Minuten
Missing Time Steps in a Markov Chain•13 Minuten
Conditional Independence•9 Minuten
Time Homogeneity and the Transition Probability Matrix•9 Minuten
Basic Markov Chain Calculations•11 Minuten
The Chapman-Kolmogorov Equations•15 Minuten
Absorbing States, Part 1•12 Minuten
Absorbing States, Part 2•15 Minuten
A Longer History in a Markov Framework•8 Minuten
6 Aufgaben•Insgesamt 74 Minuten
Quick Check-In•3 Minuten
Quick Check-In•5 Minuten
Quick Check-In•6 Minuten
AI Policy Quiz•5 Minuten
Basic Markov Chain Calculations I•25 Minuten
Basic Markov Chain Calculations II•30 Minuten
2 Programmieraufgaben•Insgesamt 180 Minuten
Introduction to Markov Chains (R)•90 Minuten
Introduction to Markov Chains (Python)•90 Minuten
Markov Chains II: Limiting Distributions
Modul 3•6 Stunden abzuschließen
Moduldetails
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!
Das ist alles enthalten
9 Videos3 Aufgaben2 Programmieraufgaben
Infos zu Modulinhalt anzeigen
9 Videos•Insgesamt 122 Minuten
Introduction to Limiting Distributions•5 Minuten
Communication Classes for a Markov Chain•14 Minuten
Classification of States: Recurrence and Transience•16 Minuten
Expected Number of Returns to a Transient State•21 Minuten
Alternative Characterization of Recurrence and Transience•12 Minuten
Recurrence and Transience are Class Properties•9 Minuten
The Random Walk•17 Minuten
Existence and Uniqueness of the Limiting Distribution•16 Minuten
Total Variation Norm Distance Between Distributions•13 Minuten
3 Aufgaben•Insgesamt 68 Minuten
Quick Check-In•8 Minuten
Classification of States•30 Minuten
Limiting Distibutions and the Random Walk•30 Minuten
2 Programmieraufgaben•Insgesamt 180 Minuten
Limiting Distributions and Classification of States (R)•90 Minuten
Limiting Distributions and Classification of States (Python)•90 Minuten
Markov Chains III: Stationary Distributions and First-Step Analyses
Modul 4•7 Stunden abzuschließen
Moduldetails
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!
Das ist alles enthalten
11 Videos3 Aufgaben2 Programmieraufgaben
Infos zu Modulinhalt anzeigen
11 Videos•Insgesamt 150 Minuten
Introduction to Stationary Distributions•14 Minuten
Finding a Stationary Distribution•12 Minuten
"Long-Run Proportion of Time" Questions•9 Minuten
Existence and Uniqueness of the Stationary Distribution•24 Minuten
Expected Hitting Time•16 Minuten
Expected Return Time•12 Minuten
Probability of Hitting One State Before Another•8 Minuten
Expected Number of Visits to a an Intermediate State•10 Minuten
Mean Pattern Times, Part 1•16 Minuten
Mean Pattern Times, Part 2•19 Minuten
Rate of Convergence to Stationarity: The Eigenvalue Connection•11 Minuten
3 Aufgaben•Insgesamt 68 Minuten
Quick Check-In•8 Minuten
Stationary Distributions and Expected Hitting Times•30 Minuten
First Step Analyses and Mean Pattern Times•30 Minuten
2 Programmieraufgaben•Insgesamt 180 Minuten
Stationary Distributions and First Step Analysis (R)•90 Minuten
Stationary Distributions and First Step Analyses (Python)•90 Minuten
Simulation and Markov Chain Monte Carlo Algorithms
Modul 5•8 Stunden abzuschließen
Moduldetails
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".
The Goal of Discrete and Continuous Random Variable Simulation•12 Minuten
"Interval Chopping" for Discrete Random Variable Simulation•10 Minuten
The Inverse CDF Method•13 Minuten
The Accept-Reject Method, Part 1•17 Minuten
The Accept-Reject Method, Part 2•11 Minuten
Discrete-Time Markov Chains on a Continuous State Space•10 Minuten
Reversibility or Detailed Balance•5 Minuten
Introduction to the Metropolis-Hastings Algorithm•17 Minuten
An Example of the Metropolis-Hasting Algorithm•12 Minuten
A Higher-Dimensional Metropolis-Hasting Algorithm Example•17 Minuten
Introduction to the Gibbs Sampler•17 Minuten
An Example of the Gibbs Sampler•17 Minuten
Introduction to Perfect Simulation•20 Minuten
2 Aufgaben•Insgesamt 60 Minuten
Basic Simulation Algorithms•30 Minuten
Markov Chain Monte Carlo Algorithms•30 Minuten
2 Programmieraufgaben•Insgesamt 150 Minuten
Monte Carlo Simulation (R)•75 Minuten
Monte Carlo Simulation (Python)•75 Minuten
4 Unbewertete Labore•Insgesamt 90 Minuten
Checking a Random Number Generator with a Histogram (R)•15 Minuten
Checking a Random Number Generator with a Histogram (Python)•15 Minuten
Gelman and Rubin's R Statistic (in R)•30 Minuten
Gelman and Rubin's R Statistic (in Python)•30 Minuten
Reinforcement Learning and Markov Decision Processes
Modul 6•3 Stunden abzuschließen
Moduldetails
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!
Markov Decision Processes: The Problem and Notation•15 Minuten
Rewards and Value Functions•22 Minuten
The Bellman Equation•16 Minuten
Value Function Computations•12 Minuten
Finding the Optimal Policy•19 Minuten
2 Aufgaben•Insgesamt 40 Minuten
Markov Decision Processes, Part 1•20 Minuten
Markov Decision Processes, Part 2•20 Minuten
2 Programmieraufgaben•Insgesamt 60 Minuten
Policy Iteration in R•30 Minuten
Policy Iteration in Python•30 Minuten
4 Unbewertete Labore•Insgesamt 20 Minuten
Example State Value Function Computation in R•5 Minuten
Example State Value Function Computation in Python•5 Minuten
Example Optimal Policy Calculation in R•5 Minuten
Example Optimal Policy Calculation in Python•5 Minuten
Erwerben Sie ein Karrierezertifikat.
Fügen Sie dieses Zeugnis Ihrem LinkedIn-Profil, Lebenslauf oder CV hinzu. Teilen Sie sie in Social Media und in Ihrer Leistungsbeurteilung.
Auf einen Abschluss hinarbeiten
Dieses Kurs ist Teil des/der folgenden Studiengangs/Studiengänge, die von University of Colorado Boulderangeboten werden. Wenn Sie zugelassen werden und sich immatrikulieren, können Ihre abgeschlossenen Kurse auf Ihren Studienabschluss angerechnet werden und Ihre Fortschritte können mit Ihnen übertragen werden.¹
Mögliche Abschüsse anzeigen
Auf einen Abschluss hinarbeiten
Dieses Kurs ist Teil des/der folgenden Studiengangs/Studiengänge, die von University of Colorado Boulderangeboten werden. Wenn Sie zugelassen werden und sich immatrikulieren, können Ihre abgeschlossenen Kurse auf Ihren Studienabschluss angerechnet werden und Ihre Fortschritte können mit Ihnen übertragen werden.¹
¹Erfolgreiche Bewerbung und Einschreibung sind erforderlich. Es gelten die Zulassungsbedingungen. Jede Einrichtung legt die Anzahl der Credits fest, die durch die Absolvierung dieser Inhalte anerkannt werden und auf die Abschlussanforderungen angerechnet werden können, wobei bereits vorhandene Credits berücksichtigt werden. Klicken Sie auf einen bestimmten Kurs, um weitere Informationen zu erhalten.
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.
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.