How To Create Your Own Reinforcement Learning Environments | Tutorial | Part 2
In part 2 of our “let’s make our own reinforcement learning environment” tutorial, we get to coding up the Q Learning agent as well as the main loop, that demonstrates how to use our open ai gym compatible environment.
We’ll need to write a couple additional functions for our Q learning agent, but we’re just a few lines away from seeing how it performs.
You can copy this code and modify it any way you see fit. Any time you want to make your own environment, just click the link below to check out the code on github.
I’ve uploaded the code for this tutorial here:
https://github.com/philtabor/Youtube-Code-Repository/blob/master/ReinforcementLearning/Fundamentals/gridworld.py
#OpenAIGym #QLearning #ReinforcementLearning
Learn how to turn deep reinforcement learning papers into code:
Deep Q Learning:
https://www.udemy.com/course/deep-q-learning-from-paper-to-code/?couponCode=DQN-OCT-21
Actor Critic Methods:
https://www.udemy.com/course/actor-critic-methods-from-paper-to-code-with-pytorch/?couponCode=AC-OCT-21
Curiosity Driven Deep Reinforcement Learning
https://www.udemy.com/course/curiosity-driven-deep-reinforcement-learning/?couponCode=ICM-OCTOBER-21
Natural Language Processing from First Principles:
https://www.udemy.com/course/natural-language-processing-from-first-principles/?couponCode=NLP1-OCT-21Reinforcement Learning Fundamentals
https://www.manning.com/livevideo/reinforcement-learning-in-motion
Here are some books / courses I recommend (affiliate links):
Grokking Deep Learning in Motion: https://bit.ly/3fXHy8W
Grokking Deep Learning: https://bit.ly/3yJ14gT
Grokking Deep Reinforcement Learning: https://bit.ly/2VNAXql
Come hang out on Discord here:
https://discord.gg/Zr4VCdv
Website: https://www.neuralnet.ai
Github: https://github.com/philtabor
Twitter: https://twitter.com/MLWithPhil
Check out the accompanying explanation over at
http://www.neuralnet.ai/designing-your-own-open-ai-gym-compatible-reinforcement-learning-environment/