Reinforcement Learning with Q-Learning Algorithm on gym's frozen lake environment implemented in python

Reinforcement Learning with Q Learning Algorithm

Q learning algorithm is trained on the gym's frozen lake environment.

Libraries Used

  • gym
  • Numpy
  • tqdm
  • Pytorch Deep Learning Framework

  • Install Requirement Files

    clone the repository or download the 'requirement.txt' files, then open terminal in the working directory and type
    'pip install -r requirements.txt'
    to install all the requirements for this project.

    Demo Video

    Q-learning.mp4
    Similar Resources

    Conservative Q Learning for Offline Reinforcement Reinforcement Learning in JAX

    Conservative Q Learning for Offline Reinforcement Reinforcement Learning in JAX

    CQL-JAX This repository implements Conservative Q Learning for Offline Reinforcement Reinforcement Learning in JAX (FLAX). Implementation is built on

    Sep 16, 2022

    Reinforcement-learning - Repository of the class assignment questions for the course on reinforcement learning

    DSE 314/614: Reinforcement Learning This repository containing reinforcement lea

    Apr 15, 2022

    Implemented fully documented Particle Swarm Optimization algorithm (basic model with few advanced features) using Python programming language

    Implemented fully documented Particle Swarm Optimization algorithm (basic model with few advanced features) using Python programming language

    Implemented fully documented Particle Swarm Optimization (PSO) algorithm in Python which includes a basic model along with few advanced features such as updating inertia weight, cognitive, social learning coefficients and maximum velocity of the particle.

    Sep 8, 2022

    Weighted K Nearest Neighbors (kNN) algorithm implemented on python from scratch.

    Weighted K Nearest Neighbors (kNN) algorithm implemented on python from scratch.

    kNN_From_Scratch I implemented the k nearest neighbors (kNN) classification algorithm on python. This algorithm is used to predict the classes of new

    Dec 14, 2021

    A solution to the 2D Ising model of ferromagnetism, implemented using the Metropolis algorithm

    Solving the Ising model on a 2D lattice using the Metropolis Algorithm Introduction The Ising model is a simplified model of ferromagnetism, the pheno

    Mar 21, 2022

    PaddleRobotics is an open-source algorithm library for robots based on Paddle, including open-source parts such as human-robot interaction, complex motion control, environment perception, SLAM positioning, and navigation.

    简体中文 | English PaddleRobotics paddleRobotics是基于paddle的机器人开源算法库集,包括人机交互、复杂运动控制、环境感知、slam定位导航等开源算法部分。 人机交互 主动多模交互技术TFVT-HRI 主动多模交互技术是通过视觉、语音、触摸传感器等输入机器人

    Sep 21, 2022

    A pytorch reprelication of the model-based reinforcement learning algorithm MBPO

    A pytorch reprelication of the model-based reinforcement learning algorithm MBPO

    Overview This is a re-implementation of the model-based RL algorithm MBPO in pytorch as described in the following paper: When to Trust Your Model: Mo

    Sep 16, 2022

    DI-HPC is an acceleration operator component for general algorithm modules in reinforcement learning algorithms

    DI-HPC: Decision Intelligence - High Performance Computation DI-HPC is an acceleration operator component for general algorithm modules in reinforceme

    Sep 21, 2022

    PPO is a very popular Reinforcement Learning algorithm at present.

    PPO is a very popular Reinforcement Learning algorithm at present.

    PPO is a very popular Reinforcement Learning algorithm at present. OpenAI takes PPO as the current baseline algorithm. We use the PPO algorithm to train a policy to give the best action in any situation.

    Aug 23, 2021
    Multi-agent reinforcement learning algorithm and environment
     Multi-agent reinforcement learning algorithm and environment

    Multi-agent reinforcement learning algorithm and environment [en/cn] Pytorch implements multi-agent reinforcement learning algorithms including IQL, Q

    Aug 22, 2022
    ​TextWorld is a sandbox learning environment for the training and evaluation of reinforcement learning (RL) agents on text-based games.

    TextWorld A text-based game generator and extensible sandbox learning environment for training and testing reinforcement learning (RL) agents. Also ch

    Sep 23, 2022
    Reinforcement learning framework and algorithms implemented in PyTorch.

    Reinforcement learning framework and algorithms implemented in PyTorch.

    Sep 21, 2022
    DeepMind Alchemy task environment: a meta-reinforcement learning benchmark
    DeepMind Alchemy task environment: a meta-reinforcement learning benchmark

    The DeepMind Alchemy environment is a meta-reinforcement learning benchmark that presents tasks sampled from a task distribution with deep underlying structure.

    Aug 29, 2022
    Trading and Backtesting environment for training reinforcement learning agent or simple rule base algo.
    Trading and Backtesting environment for training reinforcement learning agent or simple rule base algo.

    TradingGym TradingGym is a toolkit for training and backtesting the reinforcement learning algorithms. This was inspired by OpenAI Gym and imitated th

    Sep 26, 2022
    CowHerd is a partially-observed reinforcement learning environment
    CowHerd is a partially-observed reinforcement learning environment

    CowHerd is a partially-observed reinforcement learning environment, where the player walks around an area and is rewarded for milking cows. The cows try to escape and the player can place fences to help capture them. The implementation of CowHerd is based on the Crafter environment.

    Mar 6, 2022
    Reinforcement learning models in ViZDoom environment
    Reinforcement learning models in ViZDoom environment

    DoomNet DoomNet is a ViZDoom agent trained by reinforcement learning. The agent is a neural network that outputs a probability of actions given only p

    Sep 20, 2022
    Predicting path with preference based on user demonstration using Maximum Entropy Deep Inverse Reinforcement Learning in a continuous environment
    Predicting path with preference based on user demonstration using Maximum Entropy Deep Inverse Reinforcement Learning in a continuous environment

    Preference-Planning-Deep-IRL Introduction Check my portfolio post Dependencies Gym stable-baselines3 PyTorch Usage Take Demonstration python3 record.

    Jun 29, 2022
    The Environment I built to study Reinforcement Learning + Pokemon Showdown

    pokemon-showdown-rl-environment The Environment I built to study Reinforcement Learning + Pokemon Showdown Been a while since I ran this. Think it is

    Jan 16, 2022
    Wordle Env: A Daily Word Environment for Reinforcement Learning

    Wordle Env: A Daily Word Environment for Reinforcement Learning Setup Steps: git pull [email protected]:alex-nooj/wordle_env.git From the wordle_env dire

    Mar 28, 2022