Skip to content
UdemyArtificial IntelligencePaid courseIntermediate levelCertificate

Artificial Intelligence: Reinforcement Learning in Python (Udemy.com)

Complete guide to Reinforcement Learning, with Stock Trading and Online Advertising Applications

Created by: Lazy Programmer Team

Last updated August 2026

icon
What you will learn

  • Apply gradient-based supervised machine learning methods to reinforcement learning
  • Understand reinforcement learning on a technical level
  • Understand the relationship between reinforcement learning and psychology
  • Implement 17 different reinforcement learning algorithms
  • Understand important foundations for OpenAI ChatGPT, GPT-4

icon
Quality Score

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 98 / 100

icon
Course Description

icon
Artificial Intelligence Awards Best Paid Course

Ever wondered how AI technologies like OpenAI ChatGPT and GPT-4 really work? In this course, you will learn the foundations of these groundbreaking applications.

When people talk about artificial intelligence, they usually don’t mean supervised and unsupervised machine learning.

These tasks are pretty trivial compared to what we think of AIs doing - playing chess and Go, driving cars, and beating video games at a superhuman level.

Reinforcement learning has recently become popular for doing all of that and more.

Much like deep learning, a lot of the theory was discovered in the 70s and 80s but it hasn’t been until recently that we’ve been able to observe first hand the amazing results that are possible.

In 2016 we saw Google’s AlphaGo beat the world Champion in Go.

We saw AIs playing video games like Doom and Super Mario.

Self-driving cars have started driving on real roads with other drivers and even carrying passengers (Uber), all without human assistance.

If that sounds amazing, brace yourself for the future because the law of accelerating returns dictates that this progress is only going to continue to increase exponentially.

Learning about supervised and unsupervised machine learning is no small feat. To date I have over TWENTY FIVE (25!) courses just on those topics alone.

And yet reinforcement learning opens up a whole new world. As you’ll learn in this course, the reinforcement learning paradigm is very from both supervised and unsupervised learning.

It’s led to new and amazing insights both in behavioral psychology and neuroscience. As you’ll learn in this course, there are many analogous processes when it comes to teaching an agent and teaching an animal or even a human. It’s the closest thing we have so far to a true artificial general intelligence.  What’s covered in this course?

  • The multi-armed bandit problem and the explore-exploit dilemma

  • Ways to calculate means and moving averages and their relationship to stochastic gradient descent

  • Markov Decision Processes (MDPs)

  • Dynamic Programming

  • Monte Carlo

  • Temporal Difference (TD) Learning (Q-Learning and SARSA)

  • Approximation Methods (i.e. how to plug in a deep neural network or other differentiable model into your RL algorithm)

  • How to use OpenAI Gym, with zero code changes

  • Project: Apply Q-Learning to build a stock trading bot

If you’re ready to take on a brand new challenge, and learn about AI techniques that you’ve never seen before in traditional supervised machine learning, unsupervised machine learning, or even deep learning, then this course is for you.

See you in class!


"If you can't implement it, you don't understand it"

  • Or as the great physicist Richard Feynman said: "What I cannot create, I do not understand".

  • My courses are the ONLY courses where you will learn how to implement machine learning algorithms from scratch

  • Other courses will teach you how to plug in your data into a library, but do you really need help with 3 lines of code?

  • After doing the same thing with 10 datasets, you realize you didn't learn 10 things. You learned 1 thing, and just repeated the same 3 lines of code 10 times...


Suggested Prerequisites:

  • Calculus

  • Probability

  • Object-oriented programming

  • Python coding: if/else, loops, lists, dicts, sets

  • Numpy coding: matrix and vector operations

  • Linear regression

  • Gradient descent


WHAT ORDER SHOULD I TAKE YOUR COURSES IN?:

  • Check out the lecture "Machine Learning and AI Prerequisite Roadmap" (available in the FAQ of any of my courses, including the free Numpy course)


UNIQUE FEATURES

  • Every line of code explained in detail - email me any time if you disagree

  • No wasted time "typing" on the keyboard like other courses - let's be honest, nobody can really write code worth learning about in just 20 minutes from scratch

  • Not afraid of university-level math - get important details about algorithms that other courses leave out

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Lazy Programmer Team

The Lazy Programmer is a seasoned online educator with an unwavering passion for sharing knowledge. With over 10 years of experience, he has revolutionized the field of data science and machine learning by captivating audiences worldwide through his comprehensive courses and tutorials.


Equipped with a multidisciplinary background, the Lazy Programmer holds a remarkable duo of master's degrees. His first foray into academia led him to pursue computer engineering, with a specialized focus on machine learning and pattern recognition. Undeterred by boundaries, he then ventured into the realm of statistics, exploring its applications in financial engineering.


Recognized as a trailblazer in his field, the Lazy Programmer quickly embraced the power of deep learning when it was still in its infancy. As one of the pioneers, he fearlessly embarked on instructing one of the first-ever online courses on deep learning, catapulting him to the forefront of the industry.


icon
More courses by Lazy Programmer Team

$29.99

$29.99

$29.99

Free

$29.99

$29.99

icon
More Artificial Intelligence courses

Free

Free

Free

Free

Free

icon
Reviews

4.9

10,817 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Julien Second on 4/25/2024

Extensive, well balanced, straight to the point content on the topic of reinforcement learning, taught in a very clear way. It could do without the slightly arrogant tone at times, but other than that, it is excellent.

By Jacob Cox on 7/1/2023

This is a great course with a lot of information. I really like that the instructor reviews the code in each series, and he offers a lot of code to review. It also exposed me to a lot of the math behind RL, which I appreciated. Better yet, the instructor highlights those formulas in the code. Still, this was a tough course to complete. I spent a lot of time outside the course reviewing the material to help me understand a lot of the nuance that gets passed over in the material. It could also benefit from more repetition; there are a lot of statements like "I will skip this because we covered it earlier" (15 to 20 hours ago). I'm not blessed with an exceptional memory so that usually forced me to stop progressing and go look it up. That would not be terrible if the comment included a general marker for where to go look, like go look in lesson 15.

By Lorenzo Paris on 3/26/2022

This course allowed me to learn all the basic theory that is behind RL which is what I was looking for. Additionally, simple code scripts enabled myself to understand better what in the theory section was just words and concepts. Of course these topics require quite a good knowledge about maths which is, in this course, covered for everything is needed in order not to get lost.

By Juan Carlos Hernández Rangel on 12/19/2020

This one is one of the best courses I've done in a long time. Even though is a high level course where you need not only good programming skills but also good probability knowledge. I suggest everyone to take the course along with any reinforcement learning book to make it easier.

By Jakub Zaron on 11/7/2020

This is a great introduction to reinforcement learning. There are many moments you have to think a little bit yourself, but not too much to get frustrated, just optimal. All code examples are very clearly written and explained.

By Marco D'Alessandro on 9/3/2020

One of the best courses I've ever taken on the topic. Super useful to learn building basic environments and RL agent dynamics, and to develop intuitions for more sophisticated models. The mathematical rigor comes together with a nice teaching strategy for the coding part.

By Lauren Shanks on 5/23/2020

Honestly, the best $29 I've ever spent. I used this to understand RL for my final data science master's project. While I love math, I struggle with it, primarily because I get hung up on notation ambiguities and variance between authors. However, this instructor didn't leave me hanging once. All math was thoroughly explained, ambiguities clarified, and they even highlight details that could easily be a sticking points for students. For me, there is nothing worse than books/courses that explain a key fundamental, and then say "I leave it as an exercise for the student to complete (or implement, or derive)", when the solution/implementation/derivation is not clear at all. I pay for learning materials to learn quickly, so this waste of time incenses me to no end. In this course, I only noticed one minor example of this and it was for a very obvious implementation, so was not a problem. I ignored all of the "fill in the blank code" assignments as this was not useful for my learning style, and I jumped directly to the full code implementations (tracing the code first, then watching the videos to clarify any sticking points). If you follow these videos in order, and run through the code, you will have a solid foundation in RL. Much thanks and praise to the instructor!!!

By Pablo Sampaio on 4/9/2019

O material tem boa didática, ainda mais considerando que o assunto não é trivial. Ele dá vários exemplos de código que são muito úteis para entender o assunto na prática. Depois que fiz o curso pela primeira vez, vi que foram feitos ajustes que resolveram algumas críticas que eu tinha e, por isso, aumentei a nota que dei inicialmente. Alguém ainda pode achar que o curso demora um pouco a chegar nos algoritmos mais relevantes, mas isso porque ele se preocupa em dar uma boa base teórica (e acho isso positivo). Ele também não vai muito longe no assunto (ele não chega a apresentar os algoritmos mais modernos), deixando o curso um tanto incompleto. O mesmo instrutor/equipe tem dois outros cursos complementares sobre o assunto (o "Advanced Reinforcement Learning" é o melhor - 5 estrelas, para mim). Meu resumo é este: recomendo fortemente para quem quer uma *introdução* sólida no assunto de aprendizagem por reforço!

By Thibaud LE GALL on 1/29/2019

This is the kind of class that really help you build up a skill. It is simply brilliant. Theory is precise and concisely explicited including equations and exercices. The exercises are relevant and simple enough that all you have to care about is your understanding of the principles explained during the lectures. In addition, there are even tips and comments on how to use this class, how to use an online course, and how to build complete machine learning background. This is my first experience with Lazy Programmer Inc and even though, I did not follow other classes because they concern stuff that I already know, I would highly recommend them based on the content of this class and the quality of the teaching. I am even considering, going back to things I know just to revisit them in a pleasant, well-organised, concise way with a new take on it. Thanks you for the effort you put in your classes.

By Noémien Kocher on 11/26/2018

I loved the mix of theory and code, which allowed me to not only learn the theory, but actually implement it in code and check the result with the given solution. I could ask questions and get very fast responses. It really feels the instructor wants you to learn.

By Stephane Tekam Feudjo

The explanations are very clear, and that It a good thing.

However the algorithm presentation is static, more interaction could have been perfect

By Jordi Mases

Aún es prematuro pero de momento me está gustando mucho.

Showing 12 of 60 reviews