Q-Learning Algorithm: From Explanation to Implementation

By Medium - 2020-12-13

Description

In my today’s medium post, I will teach you how to implement the Q-Learning algorithm. But before that, I will first explain the idea behind Q-Learning and its limitation. Please be sure to have some…

Summary

  • Q-Learning Algorithm: In the beginning, the agent has no idea about the environment.
  • If we skip this important step, the Q-Value function will converge to a local minimum which in most of the time, is far from the optimal Q-Value function.
  • Here, we will use the FrozenLake environment of the gym python library which provides many environments including Atari games and CartPole.

 

Topics

  1. Machine_Learning (0.49)
  2. Backend (0.15)
  3. Mobile (0.09)

Similar Articles

Gaming ML/AI-based on Reinforcement Learning

By Medium - 2020-12-14

Today you turn on your TV, you listen to the radio, you read a newspaper and, unbelievable… you most probably come across about machine learning and artificial intelligence. The Machine Learning…

Automated Machine Learning in Python

By KDnuggets - 2020-11-14

An organization can also reduce the cost of hiring many experts by applying AutoML in their data pipeline. AutoML also reduces the amount of time it would take to develop and test a machine learning m ...